1

As I already have validators in my models, so I think that duplicate them in the JS is not a viable way. What are the options to run user input against Rails validations inside Ember App?

4

1 回答 1

1

查看https://github.com/dockyard/ember-validations了解 Ember.js 验证和https://github.com/dockyard/client_side_validations-ember从服务器验证引导客户端验证。

于 2013-05-12T14:57:46.153 回答