On 13 Feb 2012, at 15:35, Colin Law wrote:

=> Booting WEBrick
=> Rails 2.3.8 application starting on http://0.0.0.0:3000
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/ active_support/dependencies.rb:105:in
`const_missing': uninitialized constant User::Authentication
(NameError)
from /home/amrit/public_html/OSV/OpenStreetView/app/models/ user.rb:4

Amrit, you have been asking questions here long enough by now to know
that if you get an error from your code saying a problem at user.rb
line 4 that showing us the first few lines of that file may be
helpful.
require 'digest/sha1'

class User < ActiveRecord::Base
 include Authentication

So what have you done to make this file available? Where have you put it?

My guess is he switched from restful_authentication to devise and just left all the cruft from restful_authentication in there. Or maybe the restful_authentication gem isn't specified in the Gemfile.


Best regards

Peter De Berdt

--
You received this message because you are subscribed to the Google Groups "Ruby on 
Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to