开发者

Attaining Explicit and Predictable Ruby on Rails

开发者 https://www.devze.com 2022-12-24 03:02 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号