remarkable-rb / remarkable

Simplifying tests!
http://www.nomedojogo.com/category/remarkable/
MIT License
121 stars 64 forks source link

Changes to allow_mass_assignment_of to match Rails accessible/protected logic #30

Closed sjmadsen closed 13 years ago

sjmadsen commented 13 years ago

The accessible list is a whitelist: marking anything as accessible means everything not listed is protected. Similarly, the protected list is a blacklist: attributes not listed here are accessible.

(I couldn't figure out how to exclude another, unrelated change I made to update remarkable's gem dependencies.)