search for: registrationcontrol

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

2013 Jul 04
3
Rspec devise, testing extended RegistrationController action destroy
Hi everyone, I have devise 1.5.4 working with rails 3.0.20 and ruby 1.8.7 . I have extended the destroy action from the RegistrationController, to soft delete users instead of really deleting them from the database. def destroy # raise resouce.inspect # this is just to see if the test hits the action resource.soft_delete set_flash_message :notice, :destroyed sign_out resource redirect_to new_session_path(resource...
2005 Aug 06
3
Macromedia Flash Loading Issues
...rtial (so I could use it on other pages) it stopped working. <%= render(:partial => "shared/dvd_sale_flash_ad") %> I investigated the log and discovered the page was loading, but it for some reason was throwing this when trying to load the Flash media partial. Processing RegistrationController#ads (for 127.0.0.1 at Sat Aug 06 12:08:44 EDT 2005) Parameters: {"action"=>"ads", "id"=>"nhk-468x60.swf", "controller"=>"registration"} ActionController::UnknownAction (No action responded to ads): For some reason. Rail...
2006 Jun 16
0
Issue with routing to controller-namespaces.
Hi I have a controller-namespace conference/*, i.e. the controller classes within it look like Conference::RegistrationController. The problem is that now I need to route www.example.com/conf to the conference namespace. If I try to capture :controller through map.connect '':controller/:action/:id'' I get it glued with the namespace, i.e. :controller == ''/conf/registration''. In routes.r...
2011 Jul 14
10
Devise confusing routes
I had a similar problem yesterday. I would go to the root of my site and I would get a Too Many Redirects message. It seems like there was an infinite loop. After struggling for over an hour yesterday late at night, it seemed like I fixed it. But now, when I want to create a New User, it''s redirecting me to the Sign In screen. Seems like I didn''t fix the problem completely. I