Re: [Rails] Re: current_user Authlogic & Service.rb

2010-04-04 Thread Colin Law
On 4 April 2010 07:03, Liquid Fury wrote: > Unfortunately not.  There are many posts regarding the wrongness of > passing a variable to a model for example (which makes sense) Why do you need the current user in the model? Colin > and I just > assume the same wrongness in our case - however no

[Rails] Re: current_user Authlogic & Service.rb

2010-04-03 Thread Liquid Fury
Unfortunately not. There are many posts regarding the wrongness of passing a variable to a model for example (which makes sense) and I just assume the same wrongness in our case - however no suggested solution. Just for fun I stuffed some of the user info into a global in the user sessions con

[Rails] Re: current_user Authlogic & Service.rb

2010-04-03 Thread jeremysa...@gmail.com
I have the same question, did you ever find a solution? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-tal