Single Page App in Rails 3