spec/dummy/app/models/accessible_model.rb in automigration-1.0.3 vs spec/dummy/app/models/accessible_model.rb in automigration-1.1.0
- old
+ new
@@ -1,6 +1,6 @@
class AccessibleModel < ActiveRecord::Base
has_fields do
- integer :first, :default => 0
- integer :second, :default => 0, :accessible => false
+ integer :first, :default => 0, accessible: true
+ integer :second, :default => 0
end
end