No Method Error - Active Record

For anyone searching for a solution to this:

Add ActiveRecord::Base.logger = Logger.new("debug.log) before the
database connection.

(Care of halogenandtoast on IRC)