RailsCasts Pro episodes are now free!

Learn more or hide this

Caleb Adam Haye's Profile

GitHub User: calebhaye

Site: www.fire.coop

Comments by Caleb Adam Haye

Avatar

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!