Notes posted by bansalakhil
RSS feed
3 thanks

1 thank

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

1 thank
throws exception
when use use Model.find([1,2,3,4])
throws exception if no record exists with any of this ID

0 thanks
using collection=objects
It will fire one insert query per new record

7 thanks

8 thanks
link_to some url with current params
Code example
link_to "some text", users_path(:params => params, :more_params => "more params")

0 thanks