Created
April 7, 2009 23:52
-
-
Save jgagne33/91540 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WillPaginate::InvalidPage in 'PostsController handling weird pagination params should redirect to page 1 if 0 is given as page param' | |
0 given as value, which translates to '0' as page number | |
/Users/jasongagne/redeparede/code/trunk/vendor/plugins/will_paginate/lib/will_paginate/collection.rb:51:in `initialize' | |
/Users/jasongagne/redeparede/code/trunk/vendor/plugins/will_paginate/lib/will_paginate/collection.rb:86:in `new' | |
/Users/jasongagne/redeparede/code/trunk/vendor/plugins/will_paginate/lib/will_paginate/collection.rb:86:in `create' | |
/Users/jasongagne/redeparede/code/trunk/vendor/plugins/will_paginate/lib/will_paginate/finder.rb:129:in `paginate_by_sql' | |
/Users/jasongagne/redeparede/code/trunk/lib/post_finder/post_finder.rb:327:in `results' | |
/Users/jasongagne/redeparede/code/trunk/app/models/post.rb:117:in `search' | |
/Users/jasongagne/redeparede/code/trunk/app/controllers/posts_controller.rb:494:in `get_posts' | |
/Users/jasongagne/redeparede/code/trunk/app/controllers/posts_controller.rb:26:in `index' | |
/Users/jasongagne/redeparede/code/trunk/app/controllers/posts_controller.rb:24:in `index' | |
./spec/controllers/posts_controller_spec.rb:31: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment