rails-dev-boost
rails-dev-boost copied to clipboard
Rails 5 Issue
Receiving this error when running under rails 5:
NameError: undefined local variable or method `log_call' for ActiveSupport::Dependencies:Module
I haven't investigated Rails 5 support (my app is not on Rails 5 quite yet). From what I know following Rails 5 dev, there are a lot of changes to some internals relevant to rails-dev-boost
and the fixes required are not trivial. I am afraid I will not be able to work on these for some months.
There is also an assumption - perhaps incorrect - on my part that most of huge Rails apps, that is the apps that benefit the most from rails-dev-boost
, are not yet on Rails 5 either.
Rails 5 support is coming, but it is somewhat on the back-burner for now.
I managed to get it to run by commenting out this one line:
https://github.com/mvcodeclub/rails-dev-boost/commit/4e8e99b939414d25616dc659e9d5596caf64e4f6
I have no real idea what I'm doing in that code, though, or what the replacement call should be.
I am seeing the same issue in rails5.
Thats still happening? Any correction for this? Using last Rails version.
I am getting following error with Rails 5.1.2
NoMethodError: undefined method `alias_method_chain' for ActiveSupport::Dependencies:Module
alias_method_chain
has been deprecated in Rails 5 and removed in 5.1 https://github.com/rails/rails/pull/19434
I will try to push a fix for that later this week.
https://www.justinweiss.com/articles/rails-5-module-number-prepend-and-the-end-of-alias-method-chain/
https://github.com/mvcodeclub/rails-dev-boost/commit/4e8e99b939414d25616dc659e9d5596caf64e4f6
worked for me too @tarr11 thank you