this code fails:
@user_pages, @users = paginate :users, :per_page => 40, :order => :name
rewriting it like this works:
@users = User.all.paginate(:page => params[:page], :per_page => 40)
but what does @user_pages
, @users
mean?
I take it that @users
is being assigned to @user_pages
?
joey