4 ms·
Form validation with AngularJS and Rails
- ramigb 12y agoIt's funny that just today i added "Make activerecord errors visible" to my todos lol, thank you. -spelling.
- spellboots 12y agoCoincidentally I wrote almost exactly the same post for Ember today: http://alexspeller.com/server-side-validations-with-ember-data-and-ds-errors/ http://alexspeller.com/server-side-validations-with-ember-da... At the bottom of that post you can see that rendering the errors in rails can actually be much simpler using respond_with