Rails-api churns out JSON, JS consumes it. I can think of performance being an issue.
What are the other issues?