Attaining Explicit and Predictable Ruby on Rails
I need help, how can I learn this framework?
Here's what I need to know.
- Routes, its expected outcome, the prefix/suffix methods associated with every changes made with it.
- ActiveRecord, the dynamic generation of methods, the behind the scenes with prefix_ and _suffix methods.
- The View, how do I know what prefix/suffix methods can be used in the View.
Is there's a way to 开发者_运维知识库know all those behind-the-scenes actions in console.
Is the output of the rake routes
command sufficient? It should give you every possible route method name, and to where that route maps.
精彩评论