> Browser button goes back to correct point in index, you see page exactly
> where you were: top, bottom or WHEREVER IN BETWEEN.

The browser's back button makes no request to the server it simply pulls 
the page back from it's local cache. A link on a page regardless of what 
it's called makes a request.

> 
> 'Redirect_to :back' Rails helper won't work with <%= link_to 'Back', ...
> %>

Making a request causes a page to refresh (unless it's an AJAX request).

This is just how the web works, it has nothing to do with Rails in 
particular.

> All better solutions and explanations welcomed. Can someone clear this
> up for me? Maybe I am not seeing things the "Rails" way? "RESTful" way?

Pagination and AJAX have been the best solutions for this particular 
issue so far. The browser back button is the bane of web application 
development. In more ways than just this particular issue. This is 
exactly why AJAX is becoming so popular. It's not really that AJAX is 
such a fantastic solution, it's just the best workaround we have for a 
system that was not designed for running applications.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to