Quantcast
Viewing all articles
Browse latest Browse all 15

Rails, Rake, Fixtures, and Accomodating DB Table Constraints

I needed to auto-load test fixtures into my development environment. There’s a nice feature in Rails 1.1.0 where you can run rake db:fixtures:load which does almost everything I want. However, it doesn’t work with table constraints. So, I needed to find a way to modify Rails behavior when creating fixtures, and started looking for documentation. [...]Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 15

Trending Articles