On Nov 14, 2014, at 4:05 PM, Sunny Juneja jr.su...@gmail.com wrote:
Hey, I ran into this problem fairly recently. I needed to get a large number
of records and search them over and over again on different attributes. I
found myself writing code that looked a lot like this.
records =
Hello all,
A newly created fixture file by Rails generators contains some fixtures by
default with keys 'one' and 'two'.
If I add any null constraint on some column in that table and try to run
tests then it fails. Because Rails tries
to insert records with null values on columns having
On 16 November 2014 14:54, Prathamesh Sonpatki csonpa...@gmail.com wrote:
Hello all,
A newly created fixture file by Rails generators contains some fixtures by
default with keys 'one' and 'two'.
If I add any null constraint on some column in that table and try to run
tests then it fails.
Hi Colin,
I was suggesting that can we comment them in the generators itself. So that
they will be present but commented. Obviously when we want to write tests
and use them, we have to go to that file and edit it. We have to do it in
any case, whether they are commented or not.
Thanks.
On Mon,