• A
    Gracefully handle upgrading apps with mass assigment configs · 42cfacfe
    Andrew White 提交于
    Most apps upgrading from 3.x will have options for mass assigment in
    their application.rb and environments/*.rb config files. Rather than
    just raising a NoMethodError when copying the config, this commit
    adds a warning message until either the protected_attributes gem
    is installed or the relevant config options are removed.
    42cfacfe
railtie.rb 6.1 KB