为Rails 3应用程序制作自定义插件/宝石/引擎 [英] Making a custom plugin/gem/engine for Rails 3 app

查看:90
本文介绍了为Rails 3应用程序制作自定义插件/宝石/引擎的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遵循指南 http://edgeguides.rubyonrails.org/plugins.html 似乎有点过时了。你可以看看它,并告诉我哪些部分应该以不同的方式在Rails 3中完成吗?



编辑1:链接到其他教程也非常受欢迎! / p> 解决方案

你是对的,那个指南并不是最好的(最后一次更新日志条目是2010年4月)。



相反,我建议您阅读: https://github.com/radar/guides/blob/master/gem-development.md


I am following the guide http://edgeguides.rubyonrails.org/plugins.html and it seems to be slightly outdated. Could you have a look on it and tell me which sections should be done in a different way in Rails 3?

EDIT1: Links to alternative tutorials are also very welcome!

解决方案

You're right, that guide isn't the best (the last changelog entry is April 2010).

Instead, I'd recommend you read: https://github.com/radar/guides/blob/master/gem-development.md

这篇关于为Rails 3应用程序制作自定义插件/宝石/引擎的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆