Skip to content

github_rails_scaffold_the_right_way_smallToBig (think Sinatra) or (no extra files)

Notifications You must be signed in to change notification settings

ruby-websites-all/g-r-s-t-r-w-stb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

decomposing_scaf

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 new scaffold? 
I never thought that the program would break at the different commands.

My Rails story has been, do commands--> magic happens!
An unexpected discovery: 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.

many_ladders

About

github_rails_scaffold_the_right_way_smallToBig (think Sinatra) or (no extra files)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published