Articles in the ‘Ruby on Rails’ Category

Debug imap connections in Ruby Rails or Redmine

Wednesday, February 2nd, 2011

If you want to debug IMAP connections / operations in Ruby Rails or Redmine follow these steps:

nano /var/www/redmine/lib/redmine/imap.rb

and add after require ‘net/imap’


Net::IMAP.debug = true

Solve uninitialized constant ApplicationController in Rails 2.3 , Rails 2.3.2

Wednesday, July 7th, 2010

Once you upgrade to Rails 2.3.X you might get:


uninitialized constant ApplicationController

To solve this run in the application folder:

rake rails:update

In Rails 2.3.x application controller is no longer called application.rb but application_controller.rb.