Whenever a controller renders json I get,
uninitialized constant Mime::JSON
I have not modified any code related to this.
Ex, the code for this controller method that throws the error:
def names
@families = Family.pluck(:name)
render json: @families
end
This was working fine before the rails 5 upgrade.