I’m getting this error:
uninitialized constant OpenidsController
I can’t figure out why. I’m following this guide: http://www.danwebb.net/2007/2/27/the-no-shit-guide-to-supporting-openid-in-your-applications
I used the following command to generate the controller:
script/generate controller Openid new create complete
And I have put the following line in my routes file as the guide says to do:
map.resource :openid, :member => { :complete => :get }
Any ideas? I’m new to RoR so hopefully this is easy for someone else.
You can either change your route to this
or rename your controller class to OpenidsController.
One thing to take note of is that blog post is nearly 3 years old – you might want to consider other articles as well.