You should declare conditions explicitly, e.g.
```ruby
@teams = Team.all.paginate page: params[:page]
```