class ActiveRecord::Has::SparseAttributes::Storage
Attributes
config[RW]
record[RW]
Public Class Methods
new(record, config)
click to toggle source
# File lib/active_record/has/sparse_attributes/storage.rb, line 21 def initialize(record, config) @record = record @config = config end
Public Instance Methods
after_save(*args)
click to toggle source
# File lib/active_record/has/sparse_attributes/storage.rb, line 38 def after_save(*args) end
before_save(*args)
click to toggle source
# File lib/active_record/has/sparse_attributes/storage.rb, line 32 def before_save(*args) end
before_update(*args)
click to toggle source
# File lib/active_record/has/sparse_attributes/storage.rb, line 35 def before_update(*args) end
get(name)
click to toggle source
# File lib/active_record/has/sparse_attributes/storage.rb, line 26 def get(name) end
set(name, value)
click to toggle source
# File lib/active_record/has/sparse_attributes/storage.rb, line 29 def set(name, value) end