rails/rails — pull request #15368 by mwitek (2014-05-27 16:52:49+00:00)
Title: Add link_to_with_active_class helper

Added a link_to_with_active_class helper which will generate a link tag with
a class of 'current-page' if the link path matches the current request URI.
If the link path does not match, a class of 'non-active-page' will be added
to the link.