Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

Ryan Beckman's Profile

GitHub User: zaldabus

Comments by Ryan Beckman

Avatar

As a group that has put together a production level Angular on Rails app, I was wondering if you could answer a question. For your app, do you have all your logic processed client-side (the Angular way) or do you additionally have endpoints that handle logic server-side in a more traditional Rails manner?

For example, going to "root/entries" accesses the Angular framework but "root/" or "root/users" work via logic initialized in a Rails controller and processed via ERB/HAML.

If the latter, how do you go about setting up the app for this type of behavior?