We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb56d64 commit b0b6bddCopy full SHA for b0b6bdd
app/controllers/people_controller.rb
@@ -1,7 +1,7 @@
1
class PeopleController < ApplicationController
2
3
def index
4
- @people = Person.all
+ @people = Person.includes(:company)
5
end
6
7
def new
0 commit comments