Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (9 sloc) 184 Bytes
def sc
Kernel.exec 'script/console'
end
def sql(query)
ActiveRecord::Base.connection.select_all(query)
end
def log_to_stdout
ActiveRecord::Base.logger = Logger.new(STDOUT)
end