 <p>You could implement an API</p> <p><a href="http://railscasts.com/episodes/348-the-rails-api-gem" rel="nofollow">http://railscasts.com/episodes/348-the-rails-api-gem</a></p> <p>the idea to send data RESTfully as JSON or XML then parse that the using javascript (jquery,angular,etc..) to display it as HTML</p> <p>This main challenge in creating an API is authentication. You take a look at Oauth and Doorkeeper gem for rails</p>