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