I would
```ruby
offset = params[:offset].try(:to_i) || current_user.page_size
```