简体   繁体   English

如何安装和使用Ruby on Rails金属生成器?

[英]How to install and use the Ruby on Rails metal generator?

I am using Ruby on Rails 3 and I am trying start using Rails Metal. 我正在使用Ruby on Rails 3,并且正在尝试开始使用Rails Metal。

Typing the following in the Terminal 在终端中键入以下内容

rails generate metal authentication

I get this: 我得到这个:

Could not find generator metal.

So, how can I install the metal generator (like a plugin, gem or other)? 那么,如何安装metal发生器(如插件,gem或其他)? Where I can find that? 在哪里可以找到?

Metal was removed in Rails 3. Here's the commit w/some notes about it: 金属已在Rails 3中删除。这是带有一些注意事项的提交:

https://github.com/rails/rails/commit/ed34652d1aca148fea61c5309c1bd5ff3a55abfa https://github.com/rails/rails/commit/ed34652d1aca148fea61c5309c1bd5ff3a55abfa

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

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