We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d0bc702 + a3a25e2 commit 4459a80Copy full SHA for 4459a80
spec/dummy/app/models/application_record.rb
@@ -8,7 +8,7 @@ class ApplicationRecord < ActiveRecord::Base
8
scope :published, -> {}
9
10
class << self
11
- if Gem::Version.new(Ransack::VERSION) >= Gem::Version.new("4.1.1")
+ if Gem::Version.new(Ransack::VERSION) >= Gem::Version.new("4.0.0")
12
def ransackable_attributes(auth_object = nil)
13
authorizable_ransackable_attributes
14
end
0 commit comments