There are 11 chapters in total, a simple Weibo system.
The development is driven by testing, so there are a lot of test code in the book. At the beginning, I felt very uncomfortable. After a while, I still don't like this development method. Finally, I chose to organize the knowledge points in the book in my own way. That is to say, I separate the development part from the test part. After thinking about it, I think the knowledge points can be divided into the following four points.
1. Use of Git
Initialize the GIT init Project
Add content git add.
Submit to the local repository git commit-M "Remarks"
Submit to remote branch git push
Pull content git pull
View branch git Branch
When adding a new function, you need to create a branch, switch to the master branch after development, and then merge the previously created Branch
Git checkout-B Posts
Git checkout master
Git merge posts
2. Ruby on Rails
For more information about rails, see http://guides.rubyonrails.org/v4.0.8 /.
Ruby on Rails Tutorial:
[1] basic static pages
[2] user model layer, logon, registration
[3] Weibo posts, follow, and cancel
[4] Permission Verification
3. Use of Bootstrap
Http://getbootstrap.com/2.3.2/ is used.
Basic layout, forms, buttons, tables, various components, script plug-ins
4. rspec Test
[1] Controller Layer Test
[2] model layer test
[3] Function Testing
[4] generation of test data
[5] test with guard monitoring and then run automatically
Ruby on Rails tutorial