Forum: Rails Engines UserEngine Infinite Loop

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Scott W. (Guest)
on 2006-02-06 04:46
I have had LoginEngine working like a champ.  So I decided to install
UserEngine.  When I go to http://localhost:3000/user/login it keeps on
trying to redirect to /user/login until Firefox decides to stop trying.
Here is my log:

127.0.0.1 - - [05/Feb/2006:20:34:17 Central Standard Time] "GET
/user/login HTTP/1.1" 302 98
- -> /user/login
127.0.0.1 - - [05/Feb/2006:20:34:17 Central Standard Time] "GET
/user/login HTTP/1.1" 302 98
- -> /user/login
127.0.0.1 - - [05/Feb/2006:20:34:17 Central Standard Time] "GET
/user/login HTTP/1.1" 302 98
- -> /user/login

Any ideas?  If I comment out references to the UserEngine in
application.rb and environment.rb then things work like they did before
I installed LoginEngine.

THanks, scott.
James A. (Guest)
on 2006-02-06 10:46
(Received via mailing list)
Did you follow the installation instructions for the user engine? Most
significantly you need to run "rake bootstrap" to generate the
permissions, and change the before_filter from :login_required to
:authorize_action. My guess is that you're simply not authorized to
perform /user/login.

On 2/6/06, Scott W. <removed_email_address@domain.invalid> wrote:
> - -> /user/login
>
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> engine-users mailing list
> removed_email_address@domain.invalid
> http://lists.rails-engines.org/listinfo.cgi/engine...
>


--
* J *
  ~
Nshbrown N. (Guest)
on 2006-02-06 13:30
(Received via mailing list)
I had a similar issue, which rounded out something like enabling:

	config :use_email_notification, true

Try it and see if it works, if it is that, we can track it down.

-Nb

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Nathaniel S. H. Brown                           http://nshb.net
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This topic is locked and can not be replied to.