We had two intense days with Rails.
I created an application called project_learning_app.
When I followed the railsguide (http://goo.gl/xxUQw) I didn't understand the relationship between the controller and urls. Mathias had explained me how Rails works internally and now I understand.
Part of the magic of Rails resides in convention. Thanks to this convention, when you go to a new project, you don't need a lot of time learning how the project is implemented.
Mathias also explained me:
- the semantic versioning and the groups in GemFile.
- the security with attributes of a model
- Callbacks
- Visibility (public, protected and private)
- Test with Cucumber and Rspec
- and more things
Some interesting tools we used:
- sextant to see the routes
- creately to make an UML diagram
- pgAdmin III to view databases in postgres
- FactoryGirl to create fake data
- P4Merge: Diff of files
- simplecov: Generate a report indicating the porcentage of your code that is covered with tests.
Tomorrow more.
Keine Kommentare:
Kommentar veröffentlichen