Closed edwardsharp closed 8 years ago
oh, i guess rails 5 has builtin support for uuid primary keys.
rails 5 apparently has builtin support for uuid primary keys with postgres, but not with sqlite3 AFAIK. reference: https://github.com/rails/rails/issues/20518
But then, does anyone actually use sqlite3 in production?
Rails 5.0.0.1 Sqlite as development storage activeuuid 0.6.1 (at master@4f8e0ef)
Keep showing error
Gem Load Error is: undefined method type_cast' for class
ActiveRecord::ConnectionAdapters::Column'
replaced
==
with>=
when comparingActiveRecord::VERSION::MAJOR
should resolve: https://github.com/jashmenn/activeuuid/issues/80
ref: https://github.com/jashmenn/activeuuid/issues/46 https://github.com/jashmenn/activeuuid/issues/39