简体   繁体   English

当您运行“ rails generate scaffold”时会运行什么代码?

[英]What code gets run when you run “rails generate scaffold”?

My question is as simple is that: what code (in the Rails codebase) gets run when you run the rails generate scaffold command? 我的问题很简单:在运行rails generate scaffold命令时,会运行什么代码(在Rails代码库中)? I don't really know how I'd go about figuring that out. 我真的不知道如何解决这个问题。

(PS The reason I'm interested in this is because I want to track down what I believe to be an esoteric bug in Rails.) (PS我对此感兴趣的原因是因为我想追踪一下我认为是Rails中一个深奥的错误的原因。)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM