Skip to content

Instantly share code, notes, and snippets.

Yaroslav Vasilkov yvasilkov

Block or report user

Report or block yvasilkov

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Collection pattern
class LeadsController < ApplicationController
def index
collection =, current_user, params)
@leads = collection.eager_loaded.paginated.items
module Collections
class Collection
module Authorization
You can’t perform that action at this time.