lib/automigration/field.rb in automigration-1.0.3 vs lib/automigration/field.rb in automigration-1.1.0

- old
+ new

@@ -55,10 +55,10 @@ end def self.extend_model!(model, field) type = field[:as] name = field[:name] - accessible = (field[:accessible] == nil) || field[:accessible] + accessible = field[:accessible] if type == :belongs_to model.belongs_to name, :class_name => field[:class_name], :inverse_of => field[:inverse_of] if accessible