Displaying 2 results from an estimated 2 matches for "render_with_scope".
2010 Dec 17
1
flash[;notice] not display after redirection
...urce)
else
set_flash_message :notice, :inactive_signed_up, :reason =>
resource.inactive_message.to_s
debugger
expire_session_data_after_sign_in!
redirect_to after_inactive_sign_up_path_for(resource)
end
else
clean_up_passwords(resource)
render_with_scope :new
end
end
the flash notice is set ... I checked it in the console:
>/users/registrations_controller.rb:27
>expire_session_data_after_sign_in!
>(rdb:2) flash {:notice=>"You have signed up successfully. However, we could not sign
you in because your account is unconfirmed...
2011 Aug 09
0
Devise, RSpec and Webrat
...s/devise_mailer/confirmation_instructions.html.erb
webrat (0.7.3) lib/webrat/core/methods.rb:31:in `response''
/usr/lib/ruby/gems/1.8/gems/rspec-rails-1.3.2/lib/spec/rails/
extensions/action_view/base.rb:27:in `render''
devise (1.0.9) app/models/devise_mailer.rb:42:in
`render_with_scope''
devise (1.0.9) app/models/devise_mailer.rb:31:in `setup_mail''
devise (1.0.9) app/models/devise_mailer.rb:7:in
`confirmation_instructions''
devise (1.0.9) lib/devise/models/confirmable.rb:61:in
`send_confirmation_instructions''
/usr/lib/ruby/gems/1....