rails 3.1.3 : Unknown key: page

Hi all,

I used following query

users = User.find(:all, :page => {:size=>100},:conditions =>
['created_at between ? and ?', from_date.to_time, to_date.to_time] )

But,i got "Unknown key: page" error....

i used ruby 1.9.3 and rails 3.1.3....

Please help me....


I have not come across the use of :page in this way. What do you
think it will do and can you point me to the docs where its use is

By the way if you are using Rails 3 I would have expected you to be
using the newer techniques for finding, such as User.where(....)
rather than find.