activeuuid icon indicating copy to clipboard operation
activeuuid copied to clipboard

Binary uuid keys in Rails

Results 37 activeuuid issues
Sort by recently updated
recently updated
newest added

In a clean Rails 5.0.0.beta3 project, adding ``` ruby gem 'activeuuid', '>= 0.5.0' ``` to the `Gemfile` causes the following failure to start the Rails server. ``` DEPRECATION WARNING: alias_method_chain...

Piggy backs off @inbeom's PR - fixes the test failures ( I think) and also does some refactoring to remove final deprecations from `alias_method_chain` calls

Hi, I have the following models: ``` class UserGrant < ActiveRecord::Base belongs_to :permission end ``` ``` class Permission < ActiveRecord::Base self.primary_key = :id include ActiveUUID::UUID has_many :user_grants end ``` As...

# Issues resolved ## Timing mismatch between AR connection adapter loading and monkey-patching In Rails 5, monkey-patches loaded by `ActiveUUID::Patches.apply!` were not properly injected to connection adapters as original connection...

My migrations are not creating the correct entires in my schema.rb file. See my example migration: ``` create_table :my_table, { id: false } do |t| t.uuid :id, primary_key: true t.timestamps...

activeuuid raises follwing error on inclusion: `NameError: undefined method``type_cast' for class``ActiveRecord::ConnectionAdapters::Column'` The offending line seems to be activeuuid-0.5.0/lib/activeuuid/patches.rb:36 From what I figured out, the api was changed completely in the...

The add_column call doesn't work starting with Rails 4.2.0. I am using the mysql2 adapter -- I've not test the issue with other adapters, and using the master branch after...

@pyromaniac - trying to following the example in the documentation that indicates ``` ruby let(:guid) { "1dd74dd0-d116-11e0-99c7-5ac5d975667e" } it "should be able to find an email by the uuid" do...

After update of activeuuid 0.5.0 to 0.6.1 my schema.rb file changed from: ``` - create_table "ahoy_events", force: true do |t| - t.uuid "visit_id" + create_table "ahoy_events", force: :cascade do |t|...

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....