spec/support/user.rb in store_attribute-0.5.2 vs spec/support/user.rb in store_attribute-0.5.3
- old
+ new
@@ -1,6 +1,8 @@
+# frozen_string_literal: true
+
class RawUser < ActiveRecord::Base
- self.table_name = 'users'
+ self.table_name = "users"
end
class User < ActiveRecord::Base
store_accessor :jparams, :version, active: :boolean, salary: :integer
store_attribute :jparams, :birthday, :date