Also,
Protected versus Private at the end there...
What's the difference, and in this case should I be doing either, none
or one or the other?
http://pastie.org/1076947
bb
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google
If I can ask a more direct question.
How do I secure my controller so only baby name owners can access their
baby names? Am I on the right lines?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
On 5 August 2010 13:44, bingo bob li...@ruby-forum.com wrote:
If I can ask a more direct question.
How do I secure my controller so only baby name owners can access their
baby names? Am I on the right lines?
I have not looked at your code but assuming that User has_many
:baby_names then only
3 matches
Mail list logo