[Rails] Re: Where to place the session variable to access it in mode

2008-10-21 Thread Sijo Kg
Hi Thanks for your reply Sijo -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ 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-talk@googlegr

[Rails] Re: Where to place the session variable to access it in mode

2008-10-21 Thread Jean-Marc (M2i3.com)
But Sijo needs is justified when tracing "who" is doing something to your model. Sijo, look into this screencast from Ryan Bates (http://railscasts.com/ episodes/119-session-based-model). It provides with good leads for a solution on what your looking. In short what you want to provide your mod

[Rails] Re: Where to place the session variable to access it in mode

2008-10-17 Thread Robert Walker
> self.sd_ticket.update_attribute("modified_by_id",#here I need value I get the feeling from this line that you are confusing the responsibilities of the Model-View-Controller. Yes, there has been much blogged about skinny controllers and fat models. However, this does not mean you should y