In most projects I'm using an initializer to load all lib/*.rb files,
like:
config/initializers/requires.rb:
# auto-load all ruby files from RAILS_ROOT/lib/
Dir[File.join(RAILS_ROOT, 'lib', '*.rb')].each do |file|
require file
Note, if you have any files you do not want auto-loaded, you certa
Hey there
Code and (longer) quick-start guide can also be found here:
http://github.com/lwe/page_title_helper
To customize page titles there are many different methods, among the
most popular (and best looking) is certainly:
http://railscasts.com/episodes/30-pretty-page-title, even more there
2 matches
Mail list logo