Update homes_controller.rb