Silly question

Hi there,

I know this is be a very minor issue, but considering

@users = User.find :all, :order => ‘name’

AND

@user_pages, @users = paginate :user, :order_by => ‘name’

by simplicity, shouldn’t the symbols :order and :order_by
be the same or both to both cases ?

I stumbled on them a couple of times yet :slight_smile:

Thanks,
Andre

Would make sense. :slight_smile:
Just file an enhancement request.(http://dev.rubyonrails.com) My guess
is they would leave the order_by in as to not completely clobber all
of the current programs out there.

-Nick

Nick S. wrote:

Would make sense. :slight_smile:
Just file an enhancement request.(http://dev.rubyonrails.com) My guess
is they would leave the order_by in as to not completely clobber all
of the current programs out there.

-Nick

Done! Thanks for the directions :wink:

Andre