Hm, can't we rewrite this line instead?

``ruby
@users =User.joins(person: :profile).where("profiles.birthday > now()-interval '13 years'") if params[:under13]
@users = (@users || User).where(params[:user]) if params[:user].present?
@users ||= []
```

Something along these lines?