Skip to content

Instantly share code, notes, and snippets.

@seak0503
Created July 7, 2016 22:32
Show Gist options
  • Save seak0503/b374f8bbe58d163d30d6852efdf68d62 to your computer and use it in GitHub Desktop.
Save seak0503/b374f8bbe58d163d30d6852efdf68d62 to your computer and use it in GitHub Desktop.
Rails 特定のシードファイルのみ実行する方法
  • 構文
$ bin/rails r [シードファイルのパス]
$ bin/rails r db/seeds/hash_locks.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment