[rspec-users] id getting overwritten with 0 when testing

Patrick J. Collins patrick at collinatorstudios.com
Wed Jan 25 03:42:05 EST 2012

On Wed, 25 Jan 2012, Justin Ko wrote:

> http://ariejan.net/2008/08/12/ruby-on-rails-uuid-as-your-activerecord-primary-key
> Make sure the column is 16-byte binary

And be sure to update your test database's schema so that it behaves the
same as your other environments:

rake db:test:clone_structure

Patrick J. Collins

More information about the rspec-users mailing list