What's the recommended way to rebuild a page from the browser history? (History.js+Rails 3)
问题 Many of the pages in my Rails 3 application are composed by widgets. For example there is a user page with url /users/12 that invokes the users controller show action. This page loads the feed widget that makes an ajax call to the feed controller in order to get all the feed items for the user. So lets' suppose the user does the following: 1) enters in the browser http://mydomain.com/users/12 2) clicks on a button "Today's posts" to see just today's post (this triggers an ajax call to the