search for: profile_for

Displaying 4 results from an estimated 4 matches for "profile_for".

2009 Feb 08
2
SocketError in EmailController#correspond
...uot;Email #{recipient.name}" if param_posted?(:message) @message = Message.new(params[:message]) if @message.valid? UserMailer.deliver_message( :user => user, :recipient => recipient, :message => @message, :user_url => profile_for(user), :reply_url => url_for(:action => "correspond", :id => user.user_name) ) flash[:notice] = "Email sent." redirect_to profile_for(recipient) end end end end -- Posted via http://www.ruby-...
2008 May 03
2
ActionMailer Multiple recipients
...address << email end if param_posted?(:message) @message = Message.new(params[:message]) if @message.valid? UserMailer.deliver_groupmess( :user => user, :recipient => address, :message => @message, :user_url => profile_for(user), :reply_url => url_for(:action => "correspond", :id => user.screen_name) ) flash[:notice] = "Email sent." redirect_to profile_for(user) end end and in models/user_mailer.rb , I have def...
2010 Mar 10
6
Email section
Sir , I want to implement email section in ma web application.. so i found the method ''server_setting'' for it... Following is the method: config.action_mailer.server_settings = { :address => "smtp.gmail.com" , :port => 25, :domain => "gmail.com" , :authentication => :login, :user_name => "manish" , :password =>
2007 Dec 03
1
undefined methods page_count
I''m getting "undefined method `page_count'' for #<Array:0xb7073e1c>" when I tried to run my rails application after installing will_paginate. Details are as below: undefined method `page_count'' for #<Array:0xb7073e1c> Extracted source (around line #7): 4: <%= a.text%> 5: <% end %> 6: 7: <%= will_paginate @announcements,