Page navigation with link_to

You can specify an anchor in any _to functions with :anchor. Like so:

<%= link_to "Name", :controller => 'controller', :action => 'action', :anchor: 'PAGE_NAV' %>

You may also want to set :skip_relative_url_root to false if you need the root explicitly set.

j