3 ms·
Getting Friendly with Rails Fixtures
- bleonard 13y agoWe've found this to be the great spot in between. https://github.com/rdy/fixture_builder https://github.com/rdy/fixture_builder You use factories to build your fixtures and it regenerates if needed. I used it in a sample app recently here: https://github.com/taskrabbit/rails_engines_example/blob/master/spec/support/fixture_builder.rb https://github.com/taskrabbit/rails_engines_example/blob/mas...
- genericsteele 13y agoThat's the best of both worlds. I'm going to give this a try.