View logger output in rails console
First you need start the console and then assign rails logger it to use standard out.
rails c >> Rails.logger = Logger.new(STDOUT) >> User.class_method_to_debugYou can use similar approach to debug rake tasks etc. You can find more information here Debugging rails applications
Comments
Post a Comment