Re:How I Learned Enough Ruby On Rails In 12 Weeks To Launch ...
by james-fend on Friday January 27, 2012 @05:16PM
(#3520440)
Thank you for this. I will have to look into a few off that list and implement them. All the models does have attr_accessible. Using CarrierWave for uploads.
[ Parent
| on HN ]
Re:How I Learned Enough Ruby On Rails In 12 Weeks To Launch ...
by tptacek on Friday January 27, 2012 @06:02PM
(#3520600)
I think it might be worth your time to double check your attr_accessibles. Just:
grep attr_accessible app/models/*rb
Everything that comes up on that list, you should be comfortable with users giving any value they want to; that's what attr_accessible (effectively, not literally) means: "I give up any control of how these attributes will be set".
Re:How I Learned Enough Ruby On Rails In 12 Weeks To Launch ...
by james-fend on Friday January 27, 2012 @09:09PM
(#3521099)
Thank you for that. I shot you an email..