implications: remove duplicate scopes.
These are already defined in tag_relationship.rb.
This commit is contained in:
@@ -13,8 +13,6 @@ class TagImplication < TagRelationship
|
|||||||
validate :antecedent_is_not_aliased
|
validate :antecedent_is_not_aliased
|
||||||
validate :consequent_is_not_aliased
|
validate :consequent_is_not_aliased
|
||||||
validate :wiki_pages_present, on: :create, unless: :skip_secondary_validations
|
validate :wiki_pages_present, on: :create, unless: :skip_secondary_validations
|
||||||
scope :old, ->{where("created_at between ? and ?", 2.months.ago, 1.month.ago)}
|
|
||||||
scope :pending, ->{where(status: "pending")}
|
|
||||||
|
|
||||||
module DescendantMethods
|
module DescendantMethods
|
||||||
extend ActiveSupport::Concern
|
extend ActiveSupport::Concern
|
||||||
|
|||||||
Reference in New Issue
Block a user