mislav committed changeset [406]

October 13th, 2007 @ 04:50 PM

Will Paginate: add WillPaginate::Deprecation that builds on ActiveSupport::Deprecation. Change Array#paginate API to match ActiveRecord::Base#paginate; so you will no longer write array.paginate(1, 20), but array.paginate(:page => 1, :per_page => 20). Mark the old API as deprecated; it will be removed in the future. [ckknight] [#128 status:resolved]

http://plugins.require.errtheblo...

Committed by Chris Wanstrath

  • U will_paginate/lib/will_paginate/core_ext.rb
  • U will_paginate/lib/will_paginate.rb
  • U will_paginate/test/array_pagination_test.rb
  • U will_paginate/test/pagination_test.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins