Class: Lentil::User
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Lentil::User
- Defined in:
- app/models/lentil/user.rb
Overview
Schema Information
Table name: lentil_users
id :integer not null, primary key
user_name :string(255)
full_name :string(255)
banned :boolean
created_at :datetime not null
updated_at :datetime not null
service_id :integer
bio :text
images_count :integer default(0)
Instance Method Summary collapse
Instance Method Details
#number_of_images ⇒ Object
24 25 26 |
# File 'app/models/lentil/user.rb', line 24 def number_of_images self.images.count end |