导轨 2 至导轨 3

发布于 2024-10-20 21:42:12 字数 33 浏览 1 评论 0原文

如何将 Rails 2 插件升级到 Rails 3?

how to upgrade a rails 2 plugin to rails 3?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(7

老旧海报 2024-10-27 21:42:12

本手册将准确告诉您该怎么做:

http://www.railsupgradehandbook.com/

升级旧版 Rails 2 -3 是一项乏味的任务...会引起许多错误,特别是如果应用程序又大又旧。我还建议您观看 Railscast 第 225,226 和 226 集。

祝你好运:)

This handbook will tell you exactly what to do:

http://www.railsupgradehandbook.com/

Upgrading a legacy rails 2 -3 is a tedious task ... many errors will arouse especially if the application is big and old. I would also suggest you watch railscast episodes 225,226 and 226.

Good luck :)

月牙弯弯 2024-10-27 21:42:12

有一个插件可用于升级 Rails 版本。
试试这个:

https://github.com/rails/rails_upgrade

There is a plugin available for upgrading rails version.
Try this:

https://github.com/rails/rails_upgrade

标点 2024-10-27 21:42:12

通常,将 Rails 2 应用程序升级到 Rails 2 并不难。以下是示例指南:

http://www.railsdispatch.com/posts/upgrading-a-rails-2-app-to-rails-3

适用于应用程序的指南也应适用于插件还有

Normally it's not that hard to upgrade Rails 2 app to Rails 2. Here is a sample guide:

http://www.railsdispatch.com/posts/upgrading-a-rails-2-app-to-rails-3

The guidelines that applies to apps should apply to plugins as well

把时间冻结 2024-10-27 21:42:12

如果您想将 2.x 应用程序升级到 3,
Railscast 有一集 升级到 Rails 3 第 1 部分,其中解释了 Rails_upgrade 插件,有助于确定需要升级的内容。

将插件升级到 Rails 3.0
http://boldr.net/upgrade-plugins-gems-rails-3

If you want to upgrade a 2.x app to 3,
there is an episode in Railscast Upgrading to Rails 3 Part 1 which explains about rails_upgrade plugin that help to determine what needs upgrading.

To upgrade plugins to Rails 3.0
http://boldr.net/upgrade-plugins-gems-rails-3

水染的天色ゝ 2024-10-27 21:42:12

我认为你无法将 Rails 2 插件升级到 Rails 3 插件。您始终可以更改适合 Rails 3 编码的代码结构,但这并不意味着升级。如果您可以找到适合该插件的 Rails 3 版本,您可能需要检查存储库

i think you can't upgrade the rails 2 plugin to rails 3 plugin. You can always change the structure of the code suitable to rails 3 coding but that doesn't mean upgrade. You might need to check out the repository if you could find the version suitable to rails 3 for that plugin

白首有我共你 2024-10-27 21:42:12

您可以找到一个窥视代码: https://peepcode.com/products/rails -3-upgrade-handbook-pdf

或者railscasts也非常好

You can find a peepcode for that : https://peepcode.com/products/rails-3-upgrade-handbook-pdf

Or the railscasts is very nice too

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文