rails/protected_attributes
View on GitHub ↗ ★ 231 Ruby
Protect attributes from mass-assignment in ActiveRecord models.
4 mentions on Hacker News by 4 people: 0 stories, 4 comments · first 2014-04-08 · latest 2014-04-08
20082026
-
…of my code to Rails 4 from 3.2 yet but the transition will be far smoother than 2.3->3 was. [1] - https://github.com/rails/protected_attributes
comment by latortuga · 2014-04-08 · in Rails 4.1.0 released -
…however you can still include the protected attributes gem for a quicker/easier upgrade path ( https://github.com/rails/protected_attributes )
comment by kule · 2014-04-08 · in Rails 4.1.0 released -
…started using strong_parameters, so it wasn't a leap for me. Another app I have on 4.0 is using the https://github.com/rails/protected_attributes to retain the existing attr_accessible behavior until I get time to update. Hope that helps!
comment by kyleashipley · 2014-04-08 · in Rails 4.1.0 released -
…but I believe you can upgrade without a lot of rewriting by using the protected_attributes gem ( https://github.com/rails/protected_attributes ).
comment by dkokelley · 2014-04-08 · in Rails 4.1.0 released