spec/support/user.rb in store_attribute-0.5.0 vs spec/support/user.rb in store_attribute-0.5.1
- old
+ new
@@ -4,9 +4,11 @@
class User < ActiveRecord::Base
store_accessor :jparams, :version, active: :boolean, salary: :integer
store_attribute :jparams, :birthday, :date
+ store_attribute :jparams, :inner_json, :json
+
store :custom, accessors: [price: :money_type]
store_accessor :hdata, visible: :boolean
store_attribute :hdata, :ratio, :integer, limit: 1