New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
activerecord 4.0.0 undefined method mass_assignment_sanitizer #1333
Comments
Looks like this is related to AR's mass assignment feature being extracted on its own gem. Anyone using AR and willing to provide a guide on how to migrate to it? :) The auto explain feature is also gone. Therefore we should be removing ActiveRecord::Base.mass_assignment_sanitizer = :strict and ActiveRecord::Base.auto_explain_threshold_in_seconds = 0.5 for Working on a PR now for |
I've been a /user/ (not a developer) of Padrino 0.10.7 for awhile. Been wanting to move up to Padrino 0.11.2 but this bug is stopping me. ETA for a fix? |
Hey there, the quickest fix is to remove the offending lines from your On Wednesday, July 24, 2013, jkoutavas wrote:
Darío |
Ah, thanks, I didn't realize it was that simple (wasn't sure of the file to edit.) |
:) |
So, for #1414 we should delete these lines? https://github.com/padrino/padrino-framework/blob/master/padrino-gen/lib/padrino-gen/generators/components/orms/activerecord.rb#L31-L37 |
Yes @ujifgc |
Fixed in #1414 |
with activerecord and mini_record i've this error
The text was updated successfully, but these errors were encountered: