I'm working on an app. with the userstamp plugin in it (from 2 - 3 years
back).

In the init.rb file, there's this:

ActiveRecord::Base.send(:include, ActiveRecord::Userstamp) unless
RAILS_ENV == 'test'

This causes certain tests to fail since created_by is a required
attribute.

Does anyone know the idea behind Userstamp not loading in the test
environment.  I'm just curious.

Thanks,
Wes
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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