Modified to move pagination code to after extra_attributes block

540 examples, 0 failures
Coverage report generated for RSpec to /Users/yzhang/the_policy_machine/coverage. 580 / 582 LOC (99.66%) covered.