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 def scaffold_attribute_value(field) values[field] end
scaffold_id
()
the value of the primary key for this object
[show source]
# File lib/scaffolding_extensions/model/sequel.rb, line 11 def scaffold_id pk end