search for: looked_upon_us

Displaying 1 result from an estimated 1 matches for "looked_upon_us".

Did you mean: looked_upon_user
2007 Nov 11
0
ActionMailer Difficulties
...ser be some user and @sending_user be some other user, if I work from the console with MessageSender.deliver_confirm("Message!", @sending_user, @user) it works, and I see the message in the hash built by the test mode. But if I use the following code def send_message @user = (session[:looked_upon_user]) @sending_user = User.find(session[:user_id]) @message = (params[:message]) MessageSender.deliver_confirm(@message, @sending_user, @user) end it doesn''t, even though the send message page works, with the following code <h1> Message Sent! </h1> <p> <%= @sending...