Nope. Just do this in your environment.rb:
config.frameworks -=
[:active_record, :action_web_service, :action_mailer]
All will then be well (or, at least it works for me
Nope. Just do this in your environment.rb:
config.frameworks -=
[:active_record, :action_web_service, :action_mailer]
All will then be well (or, at least it works for me
Steve Ross wrote:
Nope. Just do this in your environment.rb:
config.frameworks -= [:active_record, :action_web_service, :action_mailer]
All will then be well (or, at least it works for me
I've got a small app which doesn't use active_record
I did have to comment out #require 'test_help' in my test_helper.rb
(since that requires fixtures, which in turn needs ActiveRecord) (and
then copied into my test_helper.rb the bits from test_help which were
relevant.
I also had to edit environment.rb to add
module Rails class Initializer def load_observers if configuration.frameworks.include?(:active_record) ActiveRecord::Base.instantiate_observers end end end end
Fred