2010/9/6 Pål Bergström <li...@ruby-forum.com>: > Colin Law wrote: > >> @my_key = cookies[:my_key] >> then access @my_key in the view. If the key is logically an attribute >> of Test then use your method, if you are just putting it there in >> order to pass it to the view then it may be more logical to use a >> separate variable. > > Thanks but I don't need it in the view but in the model.
Note to self, must read original post more carefully. Colin -- 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-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.