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
{ | |
"rules": { | |
"class-name": true, | |
"use-strict": [ | |
true, | |
"check-module", | |
"check-function" | |
], | |
"comment-format": [ | |
true, |
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 |
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
be spring rake db:drop;be spring rake db:create;be spring rake db:migrate; be spring rake db:seed; |
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
# == | |
# モデルのベースクラス | |
# モデルに共通の処理はこのクラスに定義する。 | |
module ApplicationBase | |
extend ActiveSupport::Concern | |
included do | |
acts_as_paranoid | |
application_base_common | |
end |
NewerOlder