codecraft blog
by john troxel. code, software architecture, and rapid development
Follow @neurotroxel
Monday, June 18, 2012
Controlling Rails mass-assignment with whitelists and :as
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
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)