Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

This project is archived and is in readonly mode.

ActiveSupport needs ActiveRecord

#4092

I'm using Rails 3 from master under ruby 1.8.7. I'm not using ActiveRecord. But AS "knows" about AR, while it shouldn't.
It does this in line 29:

http://github.com/rails/rails/blob/master/activesupport/lib/active_...

which crashes my app like this:

http://gist.github.com/319518

After changing it to check for whole ActiveRecord::Base (which is my temporary fix, AS shouldn't know about existence of AR at all), it goes further but then crashes in similar way when ActionMailer::Base can't be found, see line 101:

http://github.com/rails/rails/blob/master/railties/lib/rails/engine...

It was working yesterday (1st March), broke after "bundle install" which fetched new commits from master.

Reported by Marcin Kulik · March 2nd, 2010 @ 02:34 PM

State: committed
Milestone: 3.0.2
Assigned to: José Valim José Valim
Importance: Low

Activity

  1. windock
    windock
    • Tag changed from activecord, activesupport, bug, rails3 to activecord, activesupport, bug, patch, rails3

    Even if it is temporary solution. Replaced ::ActiveRecord with ::ActiveRecord::Base
    ActionMailer::Base is already fixed in http://github.com/rails/rails/commit/aa749a74f63547a503772f4489fb60...

    March 3rd, 2010 @ 12:08 AM

  2. Repository
  3. José Valim
    José Valim
    • Assigned user set to José Valim
    • State changed from new to committed
    • Milestone cleared.

    March 3rd, 2010 @ 09:08 AM

  4. Jeremy Kemper
    Jeremy Kemper
    • Milestone set to 3.0.2
    • Importance changed from to Low

    October 15th, 2010 @ 11:01 PM