Skip to content

Commit

Permalink
Ancestry 3.0.3 was released and breaks our patches
Browse files Browse the repository at this point in the history
Use 3.0.2 for now.
     NameError:
       undefined local variable or method `primary_key_type' for #<Tenant:0x00007ff7cf648538>
       Did you mean?  primary_key_value
     Shared Example Group: "ChargebackVm" called from ./spec/models/chargeback_vm_spec.rb:1399
     # /Users/joerafaniello/.gem/ruby/2.4.4/bundler/gems/rails-cc1fc16ab7d5/activemodel/lib/active_model/attribute_methods.rb:432:in `method_missing'
     # ./lib/patches/ancestry_patch.rb:65:in `cast_primary_key'
     # ./lib/patches/ancestry_patch.rb:30:in `block in parse_ancestry_column'
     # ./lib/patches/ancestry_patch.rb:30:in `map!'
     # ./lib/patches/ancestry_patch.rb:30:in `parse_ancestry_column'
     # ./lib/patches/ancestry_patch.rb:34:in `ancestor_ids'
     # /Users/joerafaniello/.gem/ruby/2.4.4/gems/ancestry-3.0.3/lib/ancestry/instance_methods.rb:8:in `ancestry_exclude_self'
  • Loading branch information
jrafanie committed Oct 23, 2018
1 parent 8a5273e commit 7be4efc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ manageiq_plugin "manageiq-schema"
gem "activerecord-id_regions", "~>0.2.0"
gem "activerecord-session_store", "~>1.1"
gem "acts_as_tree", "~>2.7" # acts_as_tree needs to be required so that it loads before ancestry
gem "ancestry", "~>3.0.2", :require => false
gem "ancestry", "=3.0.2", :require => false
gem "bcrypt", "~> 3.1.10", :require => false
gem "bundler", ">=1.11.1", :require => false
gem "color", "~>1.8"
Expand Down

0 comments on commit 7be4efc

Please sign in to comment.