Make Rails Console to show ActiveRecord SQL calls
ActiveRecord::Base.logger = Logger.new(STDOUT)
reload!
Written by Daniel Kosalla
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#