The name ‘User’ is reserved by Ruby on Rails.

If you’re seeing the message above while working with RSpec and/or Restful Authentication generated code, try commenting out the following line in your Rails environment.rb before running the code generators again:

config.active_record.observers = :user_observer.

You should hopefully see your error message go away.  I’m hopeful, at least.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Leave a Reply