On Jan 25, 2012, at 1:42 AM, Patrick J. Collins wrote: > 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
You actually want to use "rake db:test:prepare". It does the same thing as "clone_structure" but doesn't create the nasty structure.sql file. http://stackoverflow.com/questions/7693365/whats-the-difference-between-dbtestclone-dbtestclone-structure-dbtestlo > > Patrick J. Collins > http://collinatorstudios.com > _______________________________________________ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users