User specifiy number of records returned

DUH! Figured it out...

<%= link_to "Show 50 records", {:action => "report", :records => 50 } %>

@object_records = object.find(:all, :limit => params[:records])