-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
Given the following:
class User
has_and_belongs_to_many :friends, :class_name => 'User', :index => true
end
@user.friends.page(params[:page]).per(20) doesn't produce the expected limit(20) in the query. This is using the kaminari gem and the latest mongoid from master.