Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

autoload lib directory rails

config.autoload_paths += %W(#{config.root}/lib)
config.autoload_paths += Dir["#{config.root}/lib/**/"]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #autoload #lib #directory #rails
ADD COMMENT
Topic
Name
3+4 =