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.
02-pretty.rb
1 parent 27feafc commit 7eef12bCopy full SHA for 7eef12b
elasticsearch-rails/lib/rails/templates/02-pretty.rb
@@ -43,7 +43,7 @@
43
44
# NOTE: Kaminari has to be loaded before Elasticsearch::Model so the callbacks are executed
45
#
46
-insert_into_file 'Gemfile', <<-CODE, before: "gem 'elasticsearch'"
+insert_into_file 'Gemfile', <<-CODE, before: /gem "elasticsearch".+$/
47
48
49
gem 'kaminari'
0 commit comments