Created
July 23, 2016 11:09
-
-
Save yoichiro-manabe/21896ee9af06f0321324661b5d0a686b to your computer and use it in GitHub Desktop.
RubyMineのRailsConsoleで必要な設定
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include FactoryGirl::Syntax::Methods | |
# ActiveRecordのログ内容を表示する | |
ActiveRecord::Base.logger = Logger.new(STDOUT) | |
# ログの内容を表示する | |
Rails.logger = Logger.new(STDOUT) | |
# ActiveRecordの取得結果をテーブル形式で表示する | |
Hirb.enable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment