RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: calebhaye
Site: www.fire.coop
In Rails 4 you have to add:
config.autoload_paths += %W(#{config.root}/lib)
to the application.rb file in order to avoid an error when using the interceptor.
Thanks Ryan!
In Rails 4 you have to add:
config.autoload_paths += %W(#{config.root}/lib)
to the application.rb file in order to avoid an error when using the interceptor.
Thanks Ryan!