Instance methods added to ActiveRecord::Base 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/active_record.rb, line 6 6: def scaffold_attribute_value(field) 7: self[field] 8: end
scaffold_id
()
the value of the primary key for this object
[show source]
# File lib/scaffolding_extensions/model/active_record.rb, line 11 11: def scaffold_id 12: id 13: end