Executing methods of Rails controllers in Rake tasks
Thursday, February 10th, 2011Table of Contents for Ruby on Rails progression
- A noob and Ruby on Rails 2
- SEO Tools, my first Ruby on Rails application
- Foreign relations in RoR models and forms
- File uploading in RoR
- Posting with the Ruby HTTPClient
- Executing methods of Rails controllers in Rake tasks
- Securing a Ruby on Rails app
I just found myself in need of a cron job that needed to call the same code that a Rails action view is calling in an ApplicationController.... Read More