Sha256: af4eef2974a7a1cfea421a047a94bfa7228b1fbbbc058d25b63c03fc3c799d76

Contents?: true

Size: 218 Bytes

Versions: 4

Compression:

Stored size: 218 Bytes

Contents

module Refine::Conditions::HasThroughIdRelationship
  def through_id_relationship
    @through_id_relationship ||= false
  end

  def with_through_id_relationship
    @through_id_relationship = true
    self
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
refine-rails-2.13.3 app/models/refine/conditions/has_through_id_relationship.rb
refine-rails-2.13.2 app/models/refine/conditions/has_through_id_relationship.rb
refine-rails-2.13.1 app/models/refine/conditions/has_through_id_relationship.rb
refine-rails-2.13.0 app/models/refine/conditions/has_through_id_relationship.rb