spec/dummy/app/models/belongs_to_model.rb in automigration-1.0.3 vs spec/dummy/app/models/belongs_to_model.rb in automigration-1.1.0
- old
+ new
@@ -1,9 +1,9 @@
class BelongsToModel < ActiveRecord::Base
has_fields do |f|
f.string :name
- f.belongs_to :simple
- f.belongs_to :some, :class_name => 'Simple'
- f.belongs_to :parent, :class_name => 'BelongsToModel'
+ f.belongs_to :simple, accessible: true
+ f.belongs_to :some, :class_name => 'Simple', accessible: true
+ f.belongs_to :parent, :class_name => 'BelongsToModel', accessible: true
end
end