Notes posted by bansalakhil
RSS feed
bansalakhil -
April 16, 2009
3 thanks
bansalakhil -
March 10, 2009
1 thank
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 -
February 13, 2009
1 thank
throws exception
when use use Model.find([1,2,3,4])
throws exception if no record exists with any of this ID
bansalakhil -
February 12, 2009
0 thanks
using collection=objects
It will fire one insert query per new record
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")
bansalakhil -
January 9, 2009 - (v2.2.1)
0 thanks