I guess that just replacing the ```||=``` for a simple ```=``` would work.
Could you try using this?
```ruby
@projects = projects.page(params[:page])
```