instance method
store
Ruby on Rails 3.2.22.5
Since v3.2.22.5Signature
store(store_attribute, options = {})
No documentation comment.
Parameters
-
store_attributereq -
optionsopt = {}
Source
# File activerecord/lib/active_record/store.rb, line 31
def store(store_attribute, options = {})
serialize store_attribute, Hash
store_accessor(store_attribute, options[:accessors]) if options.has_key? :accessors
end
Defined in activerecord/lib/active_record/store.rb line 31
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Store::ClassMethods