mephux
Blah · Not a member
mephux's latest activity
Friday, June 26 2009
272
per_page and composite_primary_keys
was updated
in will_paginate library
-
mephux commented at 11:37 PMYou are correct the issue was unrelated. I am sorry to have wasted your time and thank you for the eager tip. This ticket is good to close.
Thursday, June 25 2009
272
per_page and composite_primary_keys
was updated
in will_paginate library
-
mephux commented at 10:41 PMOk that looked horrible sorry.
Processing EventsController#index (for 127.0.0.1 at 2009-06-25 03:53:56) [GET] Event Load (0.3ms) SELECT * FROM `event` ORD... -
mephux commented at 10:37 PMThe plugin basically just adds composite PK support as transparently as possible.
As for the SQL syntax:
Code:
@events ||= Event.all.paginate(:page => params[:p...
-
mephux commented at 9:59 AMOk, I have been working on this all night and can't seem to think of an easy fix. If you need any type of data please let me know.
-
mephux created the ticket at 3:42 AMIt seems per_page breaks when using the composite_primary_keys plugin. Seems to put a limit for both ids and looping through both. So :per_page => 5 would turn ...