Files
by/app/relations/cards.rb

13 lines
222 B
Ruby

# frozen_string_literal: true
module ClashDeckGenerator2
module Relations
class Cards < DB::Relation
schema :cards, infer: true
def meta_cards_scope
where(is_meta: 1)
end
end
end
end