-
Notifications
You must be signed in to change notification settings - Fork 968
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NoMethodError: undefined method `params_encoder' Ruby 2.4.0 & faraday 0.14.0 #759
Comments
Hi @PrimeTimeTran, |
Hey @iMacTia, |
OK! That’s strange... |
Yeah, I've already opened up an issue on elasticsearch-rails, but I don't know where in their gem it's getting called from so wasn't sure what else I could tell them that's useful. Also thanks for looking into this~! We appreciate your work |
I made a mistake. It has to do with the initializers I did in this blog post. I'm closing this issue. My apologies. Thanks for your time. |
No worries! |
For anyone who lands here from google, make sure to use |
@mattdrewitt thank you for this! |
Basic Info
Issue description
I'm expecting to be able to run
Model.import(force: true)
in the rails console and move forward with configuring my Elastic search using theelasticsearch-rails
gemThis is the error/backtrace I get though.
Steps to reproduce:
Create new rails app
rails new elasticrails
Add elastic-search gems:
Bundle install:
bundle install
Add model:
rails g model Price price:integer
Setup db:
rails db:create db:migrate
Include elastic-search-rails to model file:
Open rails console:
rails console
Run import command:
Price.import(force: true)
The text was updated successfully, but these errors were encountered: