I posted this Rails 4 Development Map for myself to review in the future. Also, this repo helped me earn my first + second SoftEng jobs!!!
-
The Must-Know Core:
a. RAILS command-line:
rails generate xxx
,rails server
,rails console
- RAKE tasks:
db:migrate
(VERSION=0),db:rollback
,test:prepare
,db:reset
,assets:precompile
- Git & Heroku
b. Flexible DB-schema with "migrations"
c. MODEL as a soft DB-manipulater with: "validations", "associations", "callbacks",
has_secure_password
, and business logicsd. RAILS app-dev as RESOURCE manipulation via Controller-and-View(s):
- CONTROLLER: RESTful & custom methods linked with VIEW(s), execute application logics, have "strong parameters" and "filters"
- VIEW(s): "layouts", "templates", and "partials" with Bootstrap-HTML
- HELPER(s): extracting codes to achieve DRY
e. Different ROUTING(s):
- RESTful routes
- custom routes
- named routes
- RAKE tasks:
-
Additions for a Good Junior:
a. TDD with RSpec:
- 3 test levels: models, helpers, & requests
spec/*_helper.rb
configsspec/support
functions- factory_girl
- capybara
b. RAKE task:
db:populate
-
Advanced(s) for a Senior/Full-stack:
- Gems Hunting
- CSS styling
- JS-related stuffs
- More configs:
config/environments
,configs/initializers
&config/application.rb
.