wjacobs786
wjacobs786

Reputation: 1

Issue with ember-cli-rails and puma-dev

Just getting started with a rails api and ember frontend. I'm using ember-cli-rails and puma-dev. I'm getting an error when visiting the localhost at .test. I'm not sure what is causing it, or if it's due to both the front and back end bring set to "/".

Any point in the right direction would be appreciated!

NoMethodError undefined method `has_key?' for nil:NilClass Extracted source (around line #19):

  def action_encoding_template(action) # :nodoc:
    *if @_parameter_encodings.has_key?(action.to_s)*
      @_parameter_encodings[action.to_s]
    end
  end

https://github.com/wjacobs71086/keenmind

Upvotes: 0

Views: 173

Answers (1)

gnclmorais
gnclmorais

Reputation: 4971

I checked your repository out and I was able to (partially) fix it… Change the following:

- class ApplicationController < ActionController::API
+ class ApplicationController < ActionController::Base

Upvotes: 0

Related Questions