On 13 February 2012 14:28, Amrit Pal Pathak <[email protected]> wrote:
> On Mon, Feb 13, 2012 at 7:42 PM, Colin Law <[email protected]> wrote:
>> On 13 February 2012 13:58, Amrit Pal Pathak <[email protected]> 
>> wrote:
>>> script/server gives the following error.
>>>
>>> => 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?

Colin

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to