railsでの開発に必須のコマンドrake。
db:migrateとか db:test:prepareとかはよく使いますが、他にはどんなオプションがあるのでしょうか?
下記のコマンドでrakeのオプション一覧と説明が見れます。
rake --tasks
でも説明文が長いコマンドは、こんな感じで省略されてしまいます。
rake db:abort_if_pending_migrations # Raises an error if there are pending... rake db:charset # Retrieves the charset for the curren...
そんなときは、--describe(または-D)を指定することで詳細が見れます。
rake --describe db:charset rake db:charset Retrieves the charset for the current environment's database