Rails 3.2 has some flexible features for controlling mass-assignment. A little Gist I put together demonstrates:
whitelisting and roles: https://gist.github.com/2948700
Monday, June 18, 2012
Tuesday, June 12, 2012
Objects in Practice - Testing Objects
Test Doubles in Ruby and Groovy: https://github.com/jtroxel/Objects-In-Practice/blob/master/test-objects/readme.md
Subscribe to:
Posts (Atom)