Attributes listed as readonly will be used to create a new record but update operations will ignore these fields.
# File lib/active_record/readonly_attributes.rb, line 16 def attr_readonly(*attributes) self._attr_readonly = Set.new(attributes.map { |a| a.to_s }) + (self._attr_readonly || []) end
Generated with the Darkfish Rdoc Generator 2.