I am tired of recreating the login system for Rails for each new project so using the RESTful Rails Authentication Tutorial I created a template project that I can use to create new projects. While adding in the OpenID Authentication component I started getting this error:
/Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:376:in `new_constants_in': You have a nil object when you didn't expect it! (NoMethodError)
after I installed this OpenID plugin.
The problem occurs because Rails has changed the way that plugins are loaded. The default folder name was:
josh-open_id_authentication-ruby_openid_2I renamed it to:
open_id_authenticationand everything started working again.Continue Reading →