Rails initializer

From WhyNotWiki

Jump to: navigation, search

trocze Documents the Rails start-up process, load paths, etc.

[edit] How it finds plugin rake tasks

The app's Rakefile has "require 'tasks/rails'", which makes it searches for (and load?) all files matching the glob vendor/plugins/*/tasks/*.rake .


[edit] To do

[edit] Document Rails load paths and conventions

lib/dir/whatever.rb would be found or needs to be added to path?

vendor/plugins/plugin/lib/dir/whatever.rb ? no, don't think it does by default

how does initializer work?

Personal tools