codecraft blog
by john troxel. code, software architecture, and rapid development
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
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
‹
›
Home
View web version