You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just upgraded to 0.0.21 and I'm getting these errors:
Expected /app/app/controllers/api/v1/base_controller.rb to define Api::V1::BaseController
vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:503:in `load_missing_constant'
That file is in that exact location and it defined class Api::V1::BaseController < ApplicationController. It was working before the upgrade.
I was thinking maybe a load path change. I have this in the initializer config.api_controllers_matcher = File.join(Rails.root, "app", "controllers", "api", "**","*.rb").
Any ideas?
The text was updated successfully, but these errors were encountered:
That's strange. Any changes in Rails stack? What version did work for you? Please try to set config.reload_controllers = false to see if anything changed.
Reverting to 0.0.11 was what fixed it. So must be some difference in between those versions.
Setting reload_controllers to false seemed not let us load the page at all. Sorry I was not clear on how that part was supposed to work in development?
Made sure to kill the app servers and restart after upgrading. Very strange stuff. Btw this is on heroku also, not sure if that is related.
Just upgraded to 0.0.21 and I'm getting these errors:
That file is in that exact location and it defined
class Api::V1::BaseController < ApplicationController
. It was working before the upgrade.I was thinking maybe a load path change. I have this in the initializer
config.api_controllers_matcher = File.join(Rails.root, "app", "controllers", "api", "**","*.rb")
.Any ideas?
The text was updated successfully, but these errors were encountered: