First workaround was to add

gem 'erubis'

to Gemfile, then bundle install.

rails s gives:

There was an error while trying to load the gem 'hobo'. (Bundler::GemRequireError) Gem Load Error is: undefined method `before_filter' for ActionController::Base:Class
Did you mean?  before_action

from Google

As we cansee <https://github.com/rails/rails/blob/master/actionpack/lib/abstract_controller/callbacks.rb>in|ActionController::Base|,|before_action|is just anew syntax <https://github.com/rails/rails/commit/9d62e04838f01f5589fa50b0baa480d60c815e2c>for|before_filter|.

However all|before_filters|syntaxare deprecated <https://github.com/rails/rails/blob/v5.0.0.beta2/actionpack/lib/abstract_controller/callbacks.rb#L190-L193>in*Rails 5.0*and will be removed in*Rails 5.1*

Don


**

--
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/hobousers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to