Displaying 2 results from an estimated 2 matches for "send_confirmation".
2006 Jun 06
1
Redirect\Cookie bug with MSIE 5.5sp2
...ernet explorer 5 where a redirect
causes the session to be lost.
A controller says....
def login
case @request.method
when :post
if @session[:user] = User.authenticate(@params
[:user_login], @params[:user_password])
return redirect_to(:action=>''send_confirmation'') unless
@session[:user].confirmed?
flash[:notice] = "Welcome back, " + @session
[:user].display_name
redirect_back_or_default "/"
else
flash.now[:notice] = "Sorry, we couldn''t log you in
with that inf...
2006 Aug 09
6
Stack level too deep with actionmailer
...ing''
D:/dev/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:131:in
`const_missing''
D:/dev/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:133:in
`const_missing''
#{RAILS_ROOT}/app/models/user.rb:56:in `send_confirmation''
#{RAILS_ROOT}/app/controllers/user_controller.rb:65:in
`resend_confirmation''
D:/dev/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/base.rb:910:in
`perform_action_without_filters''
D:/dev/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_contr...