My code that saves a record works fine in development or production, or from
the console. I can take the code in my test and run it in the console, and it
works fine.
But when I run it under a model rspec, the ids are getting set to 0. I’ve
traced it through to where I do:
Model.create params
On Jan 24, 2012, at 11:27 PM, Julian Leviston wrote:
On 25/01/2012, at 5:24 PM, Guyren G Howe wrote:
My code that saves a record works fine in development or production, or from
the console. I can take the code in my test and run it in the console, and
it works fine.
But when I run it