Ruby on Rails Tuesday, June 29, 2010

I have this bit of code in my email.controller

user = @current_user
story = @current_story
recipient = story.user

It doesn't work because @current_story isn't defined. How can I find the
current page to make this work?
--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment