Skip to content

Commit

Permalink
Merge pull request #44 from ToshinoriIzumi/feature/fix_search_childre…
Browse files Browse the repository at this point in the history
…n_age

fix ransackの検索のバグ改修 #43
  • Loading branch information
ushijimakunn authored Oct 9, 2022
2 parents 2c78b3d + a1c1a00 commit c549823
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/tokyoto_app/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ gem 'ransack', '2.6.0'
gem 'sorcery', '~> 0.15.1'
gem 'rails_admin', '3.0.0'
gem 'cancancan', '3.3.0'
gem 'pry-rails'

group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
Expand Down
7 changes: 7 additions & 0 deletions app/tokyoto_app/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ GEM
regexp_parser (>= 1.5, < 3.0)
xpath (~> 3.2)
childprocess (4.1.0)
coderay (1.1.3)
concurrent-ruby (1.1.10)
crass (1.0.6)
erubi (1.11.0)
Expand Down Expand Up @@ -140,6 +141,11 @@ GEM
multi_xml (~> 0.5)
rack (>= 1.2, < 3)
pg (1.4.3)
pry (0.14.1)
coderay (~> 1.1)
method_source (~> 1.0)
pry-rails (0.3.9)
pry (>= 0.10.4)
public_suffix (5.0.0)
puma (4.3.12)
nio4r (~> 2.0)
Expand Down Expand Up @@ -272,6 +278,7 @@ DEPENDENCIES
jbuilder (~> 2.7)
listen (~> 3.2)
pg (>= 0.18, < 2.0)
pry-rails
puma (~> 4.1)
rails (~> 6.0.5)
rails_admin (= 3.0.0)
Expand Down
3 changes: 3 additions & 0 deletions app/tokyoto_app/config/initializers/ransack.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Ransack.configure do |c|
c.sanitize_custom_scope_booleans = false
end

0 comments on commit c549823

Please sign in to comment.