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
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment