Silly question


#1

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


#2

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


#3

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