Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

Force ransack gem version to fix undefined method 'polymorphic?' #15

Merged
merged 1 commit into from
Aug 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ gem "puma", "~> 3.0"
gem "uglifier", ">= 1.3.0"
gem 'figaro', '>= 1.1.1'

# Force gem version to fix:
# undefined method `polymorphic?' for ActiveRecord::Reflection::PolymorphicReflection
# See: https://github.com/activerecord-hackery/ransack/issues/1039
gem 'ransack', '2.1.1'

gem 'delayed_job_active_record'
gem "daemons"
gem 'whenever', require: false
Expand Down
6 changes: 2 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -527,8 +527,6 @@ GEM
pg_search (2.3.0)
activerecord (>= 4.2)
activesupport (>= 4.2)
polyamorous (2.3.0)
activerecord (>= 5.0)
powerpack (0.1.2)
premailer (1.11.1)
addressable
Expand Down Expand Up @@ -578,12 +576,11 @@ GEM
thor (>= 0.19.0, < 2.0)
rainbow (3.0.0)
rake (12.3.3)
ransack (2.3.0)
ransack (2.1.1)
actionpack (>= 5.0)
activerecord (>= 5.0)
activesupport (>= 5.0)
i18n
polyamorous (= 2.3.0)
rb-fsevent (0.10.3)
rb-inotify (0.10.0)
ffi (~> 1.0)
Expand Down Expand Up @@ -755,6 +752,7 @@ DEPENDENCIES
letter_opener_web (~> 1.3.0)
listen (~> 3.1.0)
puma (~> 3.0)
ransack (= 2.1.1)
sentry-raven
spring
spring-watcher-listen (~> 2.0.0)
Expand Down