Last active
June 13, 2024 11:37
-
-
Save djGrill/b443020ca3a1e703563183ccede90907 to your computer and use it in GitHub Desktop.
Useful Rails Commands
This file contains hidden or 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
rails new . \ | |
--api \ | |
--minimal \ # https://github.com/rails/rails/blob/4a4b3998300fbebf537b770d842066b13dee5072/railties/lib/rails/generators/rails/app/app_generator.rb | |
--skip-asset-pipeline \ | |
--skip-bundle \ | |
--skip-keeps \ | |
--skip-listen \ | |
--skip-spring \ | |
--skip-sprockets \ | |
--skip-test \ | |
--skip-turbolinks \ | |
--skip-webpack-install \ | |
-d mysql | |
rag scaffold_controller NAME --view-specs=false --helper-specs=false --routing-specs=false --request-specs=false | |
bundle exec rake annotate_models --classified-sort | |
rubocop -a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment