This project is archived and is in readonly mode.

#4092 ✓committed
Marcin Kulik

ActiveSupport needs ActiveRecord

Reported by Marcin Kulik | March 2nd, 2010 @ 02:34 PM | in 3.0.2

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.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Attachments

Referenced by

Pages