[Rails] seed data in fixtures ?

2011-12-26 Thread Chris Downey
Does anybody know of a way to populate fixtures with seed data? I've put a great deal of time and thought into the seeds.rb code - it sure would be handy to run tests on that data. I'm hoping to not have to somehow duplicate seed data in the YML files. thanks! -- You received this message beca

Re: [Rails] fixtures and validation

2011-12-19 Thread Chris Downey
framework and has a clear and strong stance on how to build good software. With that in mind, I was hoping to learn the reasons behind why fixtures work the way they do. Thanks again for your response. Chris On Mon, Dec 19, 2011 at 5:55 AM, Colin Law wrote: > On 19 December 2011 02:47, C

[Rails] fixtures and validation

2011-12-19 Thread Chris Downey
Hello, I'm pretty new to Rails - very impressed not only by how much faster I can create working programs but also by how it helps me to think more clearly about design. What has me confused is why does the fixture loading process bypass model validation? There must be a good reason for this, bu