Good notes posted by cyu
RSS feed
cyu -
June 27, 2008
15 thanks
Passing find() arguments
I you need to pass additional arguments to a scope (e.g. limit), do this:
Shirt.colored('red').all(:limit => 10)