wr
hn
Top
New
Best
Ask
Show
Jobs
Back
f
fervisa
Joined 12 years ago
Karma
51
Submissions
7
Member since
Oct 6
View on Hacker News
Recent submissions
Comment · 12 years ago
Those are great news!
Comment · 12 years ago
The Rails unobtrusive adapter for jQuery jquery-ujs has a pretty neat implementation, you can take a look at it here
https://github.com/rails/jquery-ujs/blob/master/src/rails.js...
Comment · 12 years ago
You're right, and the main reason why the article doesn't go deeper into SPAs is because talking about SPAs with Angular/Ember and Rails is a topic so wide it could be its own article. I tried keeping it short, mentioning common Rails' integration caveats.
Comment · 12 years ago
I usually test my Rails/Angular projects with jasmine-rails jasmine-jquery and Sinon.JS. These three together let you test virtually any frontend js code.
Comment · 12 years ago
Thanks for the heads-up, maybe I can do a follow-up article or add an update into this one to include ember-cli features.
Comment · 12 years ago
In fact, the article mentions in 6.2.2 one client-side solution to handle CSRF token by including it into the $httpProvider's headers.
Rails JS frameworks: Ember.js vs. AngularJS
a
airpair.com
72
fervisa
12 years ago
49
comments