class HomeController < ApplicationController
  def index
    @studies = Study.order(:updated_at).page params[:page]
  end
end

class HomeController < ApplicationController
  def index
    @studies = Study.order(updated_at: :desc).page(params[:page]).per(10)
  end
end

Sort studies recently updated first, show 10 per page
Sort studies recently updated first, show 10 per page
