Consider this controller: class DashboardController < ApplicationController def index @possessions = UserPossessions::Finder.new(current_user).all if @possessions.any? @possessions = @possessions.sort_by(&:gained_access_at).reverse @possessions = UserPossessionDecorator.decorate_collection( @possessions ) else @popular_course = Course.by_popularity.first @latest_course = Course.by_publication_date