sam problem here :(
anyone know?
I get:
uninitialized constant ApplicationController::Authentication
Obviously I could just move the methods from my lib/authentication.rb
file into application_controller.rb but I'd prefer to see if there's
another way first..
On Jul 27, 9:03 am, Nicolas
Steve Murdoch wrote:
sam problem here :(
anyone know?
I get:
uninitialized constant ApplicationController::Authentication
Obviously I could just move the methods from my lib/authentication.rb
file into application_controller.rb but I'd prefer to see if there's
another way first..
Hi Nicolas, i think I've fixed the problem
add the following to your application.rb file:
# Custom directories with classes and modules you want to be
autoloadable.
config.autoload_paths += %W(#{config.root}/lib)
This code is generated when you create a brand new rails3rc app but
Hi,
Ading
config.autoload_paths += %W(#{config.root}/lib)
to my application file solved it :)
Thank you so much
On Jul 27, 5:59 am, stephenjamesmurdoch
stephenjamesmurd...@gmail.com wrote:
Hi Nicolas, i think I've fixed the problem
add the following to your application.rb file:
#
4 matches
Mail list logo