1. Why params[:created_from_date] and parameter created_from_date?
2. Doesn't it look simpler?

```ruby
def per_page_file_ids(created_from_date = nil)
  f = FileAsset
  f = f.where("created > ?", created_from_date) if created_from_date
  f.count
end 
```