This project is archived and is in readonly mode.
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:
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
-
windock March 3rd, 2010 @ 12:08 AM
- 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... -
Repository March 3rd, 2010 @ 08:41 AM
(from [6feffe5f38ad82d50b112ed102f8370ed934c8c1]) whiny nil shouldn't depend on Active Record [#4092 status:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/6feffe5f38ad82d50b112ed102f837... -
José Valim March 3rd, 2010 @ 09:08 AM
- Assigned user set to José Valim
- State changed from new to committed
- Milestone cleared.
-
Jeremy Kemper October 15th, 2010 @ 11:01 PM
- Milestone set to 3.0.2
- Importance changed from to Low
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>
People watching this ticket
Attachments
Referenced by
- 4092 ActiveSupport needs ActiveRecord (from [6feffe5f38ad82d50b112ed102f8370ed934c8c1]) whiny n...
- 4105 whiny_nil causes crash on Ruby 1.9.1 p378 using RVM See https://rails.lighthouseapp.com/projects/8994/tickets...