hi everybody! I found a wrong behavior with the pagination system when I'm using belongs_to :owner associations.
In my app, all records in the models are visible only by owners. But when a user enters 150 records, the system includes in some way these records (without display) on the pagination of other users, so that for example, a second user with 3 or 4 records do not see anything in its index, unless scroll to page 6 or 7 (after 5 blank pages) where he will find them. any suggestions on how to correct this behavior? I'm using hobo 1.0.1, will_paginate 2.3.14 association: belongs_to :owner, :class_name => "User", :creator => true : permissions: def view_permitted?(field) owner_is? acting_user end best regards! eddie. -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
