I''ve used login_engine successfully before with webrick, and now using a provider that uses fcgi. login_engine doesn''t seem to start up, in the development log file, I get only routing errors for the page requested. The login_engine unit tests pass fine. My question is if an engine is not loaded, not in a path, etc, how is this indicated in rails? None of the log files even indicate that it''s trying to start the LoginEngine. Since I''ve had no problem in the past, I''m assuming this is some sort of fcgi issue, but not sure how to even start troubleshooting it. Any help would be appreciated. Application helper: module ApplicationHelper include LoginEngine end Environment.rb (bottom) module LoginEngine config :salt, "mysalt" config :use_email_notification, false end Engines.start :login_engine Application Controller: require ''login_engine'' class ApplicationController < ActionController::Base include LoginEngine helper :user model :user before_filter :login_required end -- Posted via http://www.ruby-forum.com/.
Hey Joe - not sure if we''re experiencing the same problems, but since upping to 1.1.4 the login_engine is failing (infinite redirects, login never succeeds, etc.). I''m not sure, but it looks like this ticket may be the ''ticket'' - but alas the current patch doesn''t work for me, http://dev.rails-engines.org/tickets/180 cheers, Jodi On 4-Jul-06, at 7:15 PM, CambrianJoe wrote:> I''ve used login_engine successfully before with webrick, and now > using a > provider that uses fcgi. login_engine doesn''t seem to start up, in the > development log file, I get only routing errors for the page > requested. > The login_engine unit tests pass fine. > > My question is if an engine is not loaded, not in a path, etc, how is > this indicated in rails? None of the log files even indicate that it''s > trying to start the LoginEngine. > > Since I''ve had no problem in the past, I''m assuming this is some > sort of > fcgi issue, but not sure how to even start troubleshooting it. Any > help > would be appreciated. > > > Application helper: > module ApplicationHelper > include LoginEngine > end > > Environment.rb (bottom) > > module LoginEngine > config :salt, "mysalt" > config :use_email_notification, false > end > > Engines.start :login_engine > > > Application Controller: > require ''login_engine'' > > class ApplicationController < ActionController::Base > include LoginEngine > helper :user > model :user > > before_filter :login_required > > > end > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails
As indicated on the ticket, I''m looking for debug logs to help me track this down (thanks for yours, Jodi). If you''re experiencing a problem with Rails 1.1.4, please follow the instructions there. In the meantime, stick with Rails 1.1.2 if you can. - james On 7/5/06, Jodi Showers <jodi@nnovation.ca> wrote:> Hey Joe - > > not sure if we''re experiencing the same problems, but since upping > to 1.1.4 the login_engine is failing (infinite redirects, login never > succeeds, etc.). > > I''m not sure, but it looks like this ticket may be the ''ticket'' - but > alas the current patch doesn''t work for me, > > http://dev.rails-engines.org/tickets/180 > > cheers, > Jodi > > On 4-Jul-06, at 7:15 PM, CambrianJoe wrote: > > > I''ve used login_engine successfully before with webrick, and now > > using a > > provider that uses fcgi. login_engine doesn''t seem to start up, in the > > development log file, I get only routing errors for the page > > requested. > > The login_engine unit tests pass fine. > > > > My question is if an engine is not loaded, not in a path, etc, how is > > this indicated in rails? None of the log files even indicate that it''s > > trying to start the LoginEngine. > > > > Since I''ve had no problem in the past, I''m assuming this is some > > sort of > > fcgi issue, but not sure how to even start troubleshooting it. Any > > help > > would be appreciated. > > > > > > Application helper: > > module ApplicationHelper > > include LoginEngine > > end > > > > Environment.rb (bottom) > > > > module LoginEngine > > config :salt, "mysalt" > > config :use_email_notification, false > > end > > > > Engines.start :login_engine > > > > > > Application Controller: > > require ''login_engine'' > > > > class ApplicationController < ActionController::Base > > include LoginEngine > > helper :user > > model :user > > > > before_filter :login_required > > > > > > end > > > > -- > > Posted via http://www.ruby-forum.com/. > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- * J * ~
Can y''all having trouble with Rails 1.1.4 please try updating to the latest version of the Engines 1.1 release branch (revision 4 405)? This can be done by either: (if you''re already on the release branch) svn up vendor/plugins/engines (if you''re not) cd vendor/plugins rm -fr engines svn co http://svn.rails-engines.org/engines/branches/rb_1.1 Please leave feedback on Ticket #180 as per usual. Thanks, James On 7/5/06, James Adam <james.adam@gmail.com> wrote:> As indicated on the ticket, I''m looking for debug logs to help me > track this down (thanks for yours, Jodi). If you''re experiencing a > problem with Rails 1.1.4, please follow the instructions there. > > In the meantime, stick with Rails 1.1.2 if you can. > > - james > > On 7/5/06, Jodi Showers <jodi@nnovation.ca> wrote: > > Hey Joe - > > > > not sure if we''re experiencing the same problems, but since upping > > to 1.1.4 the login_engine is failing (infinite redirects, login never > > succeeds, etc.). > > > > I''m not sure, but it looks like this ticket may be the ''ticket'' - but > > alas the current patch doesn''t work for me, > > > > http://dev.rails-engines.org/tickets/180 > > > > cheers, > > Jodi > > > > On 4-Jul-06, at 7:15 PM, CambrianJoe wrote: > > > > > I''ve used login_engine successfully before with webrick, and now > > > using a > > > provider that uses fcgi. login_engine doesn''t seem to start up, in the > > > development log file, I get only routing errors for the page > > > requested. > > > The login_engine unit tests pass fine. > > > > > > My question is if an engine is not loaded, not in a path, etc, how is > > > this indicated in rails? None of the log files even indicate that it''s > > > trying to start the LoginEngine. > > > > > > Since I''ve had no problem in the past, I''m assuming this is some > > > sort of > > > fcgi issue, but not sure how to even start troubleshooting it. Any > > > help > > > would be appreciated. > > > > > > > > > Application helper: > > > module ApplicationHelper > > > include LoginEngine > > > end > > > > > > Environment.rb (bottom) > > > > > > module LoginEngine > > > config :salt, "mysalt" > > > config :use_email_notification, false > > > end > > > > > > Engines.start :login_engine > > > > > > > > > Application Controller: > > > require ''login_engine'' > > > > > > class ApplicationController < ActionController::Base > > > include LoginEngine > > > helper :user > > > model :user > > > > > > before_filter :login_required > > > > > > > > > end > > > > > > -- > > > Posted via http://www.ruby-forum.com/. > > > _______________________________________________ > > > Rails mailing list > > > Rails@lists.rubyonrails.org > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > -- > * J * > ~ >-- * J * ~