app/models/linked_rails/collection/paginated.rb in linked_rails-0.0.4.pre.gfe77aae19 vs app/models/linked_rails/collection/paginated.rb in linked_rails-0.0.4

- old
+ new

@@ -28,13 +28,12 @@ page: page }.merge(collection.iri_opts) end def members_query - @members_query ||= - prepare_members(association_base) - .page(page) - .per(page_size) + prepare_members(association_base) + .page(page) + .per(page_size) end def prepare_members(scope) return super unless scope.is_a?(Array) && !scope.is_a?(Kaminari::PaginatableArray)