-
Configuration
-
Database creation, migration, seed
rake reset
- How to run the test suite
rake haml:erb2haml
- How to fork and get updates from upstream https://stackoverflow.com/questions/3903817/pull-new-updates-from-original-github-repository-into-forked-github-repository?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa
- fork [email protected]:alex-nexus/rails_template.git
- on github, rename the project to new app
git clone [email protected]:alex-nexus/rails_template.git NEW_APP_NAME
- rename create a new repo
git clone [email protected]:alex-nexus/rails_template.git NEW_APP_NAME
remove entry "origin" in /.git/config
git remote add origin [email protected]:alex-nexus/bright_escrow.git
application.rb rename RailsTemplate to NEW_APP_NAME database.yml rename template_ to new_app_name_
git push -u origin master
- go to the forked repo
git remote add upstream [email protected]:alex-nexus/rails_template.git
git fetch upstream
git merge upstream/master
git push origin master
- Good reference: awesome-rails: https://github.com/gramantin/awesome-rails zen-rails-security-checklist: https://github.com/brunofacca/zen-rails-security-checklist Rails Best practice: https://rails-bestpractices.com/