Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道right-rails ( rightjs ) 是否已为 rails3 做好准备?
我没有找到任何替代默认值public/javascripts/rails.js
public/javascripts/rails.js
谢谢
是的,它已经在 rails.js 中内置了 Rails3 UJS 模块。
唯一的问题是script/generate right_rails它还不能在 Rails3 上运行。所以你需要在一个干净的 Rails2 项目上生成脚本并手动将这些东西复制到 Rails3
script/generate right_rails
所有其他的帮助程序和 javascript 都应该没问题