my view is in the main layouts file. I also tried to add @invitation.sender = @user to the invitations controller but that hasn't solved it...
On 10 Feb, 19:24, Steve Klabnik <steve.klab...@gmail.com> wrote: > I don't see you defining @user anywhere. Which view is your code in? -- 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.