```ruby
class StaticController < ApplicationController
  def homepage
    redirect_to dashboard_path() if logged_in?

    @projects = Project.limit(100).sample(12).sort_by(&:name)
    @users = User.limit(100).sample(45)
    @quote = Quote.random
  end
end
```

Use a slightly larger sample for homepage data
user
```ruby
class StaticController < ApplicationController
  def homepage
    redirect_to dashboard_path() if logged_in?

    @projects = Project.limit(200).sample(14).sort_by(&:name)
    @users = User.limit(200).sample(45)
    @quote = Quote.random
  end
end
```
assistant