Edit or create .irbrc (or .pryrc if you're using pry) file in user home directory. Add the following lines:
if defined?(Rails) && !Rails.env.nil?
puts '... ActiveRecord and ActiveResource Logger set to STDOUT'
puts '... ActiveRecord and ActiveResource Logger set to STDOUT'
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.