We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On this line: https://github.com/jashmenn/activeuuid/blob/master/lib/activeuuid/uuid.rb#L146
self.class.columns_hash[primary_key].type => binary
which != :uuid
The db is mysql, i'm using the mysql2 gem and the field is a binary 16 field in the DB.
activeuuid (0.6.0) activerecord (>= 3.1) uuidtools
The text was updated successfully, but these errors were encountered:
add a file activeuuid.rb in your project config/initializers will fix this issues
ActiveRecord::Base.connection_pool.with_connection do ActiveUUID::Patches.apply! end
Sorry, something went wrong.
Why is this needed? I see the patches being applied in the code here:
https://github.com/jashmenn/activeuuid/blob/master/lib/activeuuid.rb#L9
And here:
https://github.com/jashmenn/activeuuid/blob/master/lib/activeuuid/railtie.rb#L9
No branches or pull requests
On this line:
https://github.com/jashmenn/activeuuid/blob/master/lib/activeuuid/uuid.rb#L146
self.class.columns_hash[primary_key].type => binary
which != :uuid
The db is mysql, i'm using the mysql2 gem and the field is a binary 16 field in the DB.
Version
activeuuid (0.6.0)
activerecord (>= 3.1)
uuidtools
The text was updated successfully, but these errors were encountered: