29 May '15, 11am

Giles Bowkett: Strong Parameters Are A Weak Schema

Strong Parameters Are A Weak Schema Ruby on Rails went off the rails a long time ago. I don't work with Rails today. But, like so many other developers, I kept working with Rails for many years after the Merb merge. Because I loved Ruby, and because the Rails developer experience remains a thing of beauty, even today. I stuck around for Rails 4, and one of the changes it made was silly. Rails has always had a nice way of sanitizing user input coming from ubiquitous forms. Up until Rails 3, the solution was to list accessible fields right in your models. Then Rails 4 came along and introduced a different solution - strong_parameters , allowing you to take a greater control over the sanitizing process. As is often the case with Rails, the real problem here is that the core team failed to recognize a classic problem of computer science, after underestimating the importance of...

Full article: http://gilesbowkett.blogspot.com/2015/05/strong-parameter...

Tweets

Looking at the best read articles since @windpower_m launched and this is number one. and it's st…

Looking at the best read articles since @windpo...

windpowermonthly.com 01 Jun '15, 11am

Mass production of wind turbines on an industrial scale is not yet a decade old, and few turbine models have operated in l...

With pro career on horizon, @GT_GOLF's @ollie_g...

golfweek.com 29 May '15, 10am

BRADENTON, Fla. –– On the eve of his final collegiate tournament, Georgia Tech senior Ollie Schniederjans was putting the ...