This project is archived and is in readonly mode.
fixtures: consider fixture_class_names to find fixture_class file
Reported by pelzrutsche | July 22nd, 2008 @ 04:20 PM | in 3.x
Fixtures allows to map table names on class names/classes, but doesn't use this mapping when trying to load a class. This leads to a needless log entry.
Comments and changes to this ticket
-
Pratik July 23rd, 2008 @ 12:18 AM
- State changed from new to incomplete
- Tag changed from activerecord, fixtures, tested to activerecord, fixtures, patch, tested
Patch is missing tests.
-
pelzrutsche July 24th, 2008 @ 11:18 AM
- Tag changed from activerecord, fixtures, patch, tested to activerecord, fixtures, patch, tested, tests
Enhenced require_fixture_classes and added test.
-
Pratik July 24th, 2008 @ 11:24 AM
- State changed from incomplete to open
- Assigned user set to Pratik
-
Pratik October 4th, 2008 @ 02:54 PM
- State changed from open to incomplete
Hey,
This is making AR tests fail with the following error :
"./test/cases/../../lib/active_record/fixtures.rb:878:in
const_defined?': wrong constant name Warehouse-thing (NameError)"
Try to run 'rake test_sqlite3' from activerecord/ dir
-
Paul Hinze July 6th, 2009 @ 09:16 PM
- Tag changed from activerecord, fixtures, patch, tested, tests to 2-3-stable, 2.3, activerecord, fixtures, master, patch, tested, tests
Seeing this issue myself. I updated the patch to apply against current git master, and I fixed the wrong constant name problem, but I'm not sure about the patch itself. The test it adds now fails.
I need to context switch, but I'll see if I can look into it again sometime soon. Pretty sure this is still an issue in git master though.
-
Santiago Pastorino February 2nd, 2011 @ 05:05 PM
- State changed from incomplete to open
- Tag changed from 2-3-stable, 2.3, activerecord, fixtures, master, patch, tested, tests to 2-3-stable, 23, activerecord, fixtures, master, patch, tested, tests
- Importance changed from to
This issue has been automatically marked as stale because it has not been commented on for at least three months.
The resources of the Rails core team are limited, and so we are asking for your help. If you can still reproduce this error on the 3-0-stable branch or on master, please reply with all of the information you have about it and add "[state:open]" to your comment. This will reopen the ticket for review. Likewise, if you feel that this is a very important feature for Rails to include, please reply with your explanation so we can consider it.
Thank you for all your contributions, and we hope you will understand this step to focus our efforts where they are most helpful.
-
Santiago Pastorino February 2nd, 2011 @ 05:05 PM
- State changed from open to stale
-
gfh February 17th, 2011 @ 06:48 AM
Good Puma shoes sale information for Puma shoes fans: Yesterday, German sportswear maker Cheap Running Shoes purchased effectively lot of money Brands. The transaction entails the Cobra brand, too as linked inventory, intellectual house and endorsement contracts. It also helps make puma speed cat Shoes . They provide you with the utmost game and support all through the feet.You can happen around several types of basketball sneakers such as high-top,low-top and mid-top.The Puma shoes online and boots give you best ankle support will support want you to obtain steadiness.
As we konw,Trail Puma Drift Cat Shoes black, Trail Puma future cat ShoesWhite Black? 50 many years backshore are actually released within a great accomplishment. Trail Running Shoes speed cat shoes?go in add-on to King Pele into planet tournament finals, bottom tennis discs matchrs within pasture inhabit an vital area in hold out in Wimbledon Dun; Its working firms have premier manufacturers and major marketplace positions in distilled spirits, residence and security, and golf products. The reply go all through the Cheap puma shoes on sale-here you are able to happen around several distcoun.puma shoes on sale .
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
- 1628 Loading fixtures for a module's model Seems related to #675 "fixtures: consider fixture_class_n...