Update pages method to raise as expected for crudify admin finder
Add specs for find_by_path_or_id!.

Original pr - #2494
Merge pull request #2519 from refinery/updated_pr_2494

Update pr #2494 by adding specs.