[Rails] Re: authlogic and controllers - plus general advice

2010-08-05 Thread bingo bob
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

[Rails] Re: authlogic and controllers - plus general advice

2010-08-05 Thread bingo bob
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.

Re: [Rails] Re: authlogic and controllers - plus general advice

2010-08-05 Thread Colin Law
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