Class: Carrot
- Inherits:
-
Rubee::SequelObject
- Object
- Rubee::SequelObject
- Carrot
- Defined in:
- lib/tests/example_models/carrots.rb
Instance Attribute Summary collapse
-
#color ⇒ Object
Returns the value of attribute color.
-
#created ⇒ Object
Returns the value of attribute created.
-
#updated ⇒ Object
Returns the value of attribute updated.
Method Summary
Methods inherited from Rubee::SequelObject
all, #assign_attributes, count, create, dataset, db_set?, #destroy, destroy_all, find, find_first, find_last, find_or_new, first, holds, join, last, limit, offset, order, owns_many, owns_one, paginate, #persisted?, reconnect!, #reload, #save, serialize, #update, validate_before_persist!, where
Methods included from Rubee::DatabaseObjectable
Instance Attribute Details
#color ⇒ Object
Returns the value of attribute color.
2 3 4 |
# File 'lib/tests/example_models/carrots.rb', line 2 def color @color end |
#created ⇒ Object
Returns the value of attribute created.
2 3 4 |
# File 'lib/tests/example_models/carrots.rb', line 2 def created @created end |
#updated ⇒ Object
Returns the value of attribute updated.
2 3 4 |
# File 'lib/tests/example_models/carrots.rb', line 2 def updated @updated end |