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