Instance methods added to Sequel::Model to allow it to work with Scaffolding Extensions.
Public instance methods
scaffold_attribute_value
(field)
Get value for given attribute
[show source]
# File lib/scaffolding_extensions/model/sequel.rb, line 6 6: def scaffold_attribute_value(field) 7: values[field] 8: end
scaffold_id
()
the value of the primary key for this object
[show source]
# File lib/scaffolding_extensions/model/sequel.rb, line 11 11: def scaffold_id 12: pk 13: end