This project is archived and is in readonly mode.
No error raised when fixtures file doesn't exist
Reported by Paul Hieromnimon | August 11th, 2010 @ 03:20 AM
Fixtures.new will not complain if fixture_path is invalid. This makes it hard to track down issues to due a missing file/typo. Additionally, there is no way to tell the difference between an empty file and a non-existent file.
Attached is a fix + test case.
Comments and changes to this ticket
-
Paul Hieromnimon August 11th, 2010 @ 03:22 AM
- Tag set to fixtures
-
Aaron Patterson August 11th, 2010 @ 11:48 PM
- State changed from new to committed
- Assigned user set to Aaron Patterson
- Importance changed from to Low
Thanks! I've applied this.
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>