Methods
S
Instance Public methods
store(store_attribute, options = {})
    # File activerecord/lib/active_record/store.rb, line 31
31:       def store(store_attribute, options = {})
32:         serialize store_attribute, Hash
33:         store_accessor(store_attribute, options[:accessors]) if options.has_key? :accessors
34:       end
store_accessor(store_attribute, *keys)
    # File activerecord/lib/active_record/store.rb, line 36
36:       def store_accessor(store_attribute, *keys)
37:         Array(keys).flatten.each do |key|
38:           define_method("#{key}=") do |value|
39:             send(store_attribute)[key] = value
40:             send("#{store_attribute}_will_change!")
41:           end
42:     
43:           define_method(key) do
44:             send(store_attribute)[key]
45:           end
46:         end
47:       end