Ruby on Rails Executing methods of Rails controllers in Rake tasks Tutorial
  Tutorials > Ruby on Rails > Helpers