Rails 4.1 Compatibility
dannytip opened this issue · comments
When using Rails 4.1 this error is thrown:
/.rvm/gems/ruby-2.0.0-p247/gems/activerecord-4.1.0.beta1/lib/active_record/dynamic_matchers.rb:22:in method_missing': undefined local variable or method
generated_feature_methods' for #Class:0x007fb98e4e5120 (NameError)
from /.rvm/gems/ruby-2.0.0-p247/gems/protected_attributes-1.0.5/lib/active_record/mass_assignment_security/nested_attributes.rb:30:in block in accepts_nested_attributes_for' from /.rvm/gems/ruby-2.0.0-p247/gems/protected_attributes-1.0.5/lib/active_record/mass_assignment_security/nested_attributes.rb:16:in
each'
from /.rvm/gems/ruby-2.0.0-p247/gems/protected_attributes-1.0.5/lib/active_record/mass_assignment_security/nested_attributes.rb:16:in `accepts_nested_attributes_for'
Sorry this is already fixed in master.