0

Emberjs is great but it require to re-write all routes and models if I change something on Rails. Is there a way to get all Emberjs's routes generated by Rails? So if I change a route on Rails, automatically, it generate all Emberjs's routes? The same thing to share model's validation and other things..

Or are there others JS framework for Rails?

4

1 回答 1

1

我不知道你到目前为止尝试了什么,但最好的 ember-rails 集成工具之一可能是https://github.com/emberjs/ember-rails。它具有 boostrap 命令,例如:rails g ember:bootstrap它会生成一些样板代码。

希望能帮助到你。

于 2013-07-07T17:56:11.810 回答