Good notes posted by bansalakhil
RSS feed
bansalakhil -
April 16, 2009
3 thanks
bansalakhil -
February 18, 2009
6 thanks
Anchor tag in link_to
Code example
link_to("some text", articles_path(:anchor => "comment"))
will output <a href = “/articles#comment” >some text
bansalakhil -
January 16, 2009
7 thanks
bansalakhil -
January 9, 2009
8 thanks
link_to some url with current params
Code example
link_to "some text", users_path(:params => params, :more_params => "more params")