You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bundle --> Gemfile
rails s --> config/, bin/
rake db:migrate --> db/
rake --> Rakefile, test/
beginners can match commands to files!
cool lightning talk? or dumb?
Step 1 decompose a Rails scaffold
That project can be found here https://github.com/MichaelDimmitt/g-r-s-t-r-w-bts
obviously this was not productive at all. no new features were built.
But one day I thought, what would happen if I just sledgehammered a `rails new` scaffold?
My plan was delete the files until all the commands broke. Removing bloat that I did not understand.
I never thought that individual commands would break as additional files were deleted.
My Rails story has been, do commands--> magic happens!
An unexpected discovery from this project: you can match commands to files!
Step 2 Commit a Rails scaffold correctly.
Since I can match commands to files
Committing the initial project scaffold should not be one commit
and as a commit message ```commit -m "initial project scaffold;```
Instead, a scaffold should consist of adding files
and eluciadating the commands that require these files!
Buildings dont just happen. You cant build at the top until you understand which ladders get you where.
About
github_rails_scaffold_the_right_way_smallToBig (no extra files) (gem?)