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 :) Thanks, Andre -- Posted via http://www.ruby-forum.com/.
Would make sense. :) 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 On 3/31/06, Andre <aap@howto.com.br> wrote: > 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 :) > > Thanks, > Andre > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Nick Stuart wrote: > Would make sense. :) > 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 ;) Andre -- Posted via http://www.ruby-forum.com/.