Sha256: 0814963cc31371cbda37f9e666e358dd55215210d1fcf7693590ff5010d81a82

Contents?: true

Size: 257 Bytes

Versions: 5

Compression:

Stored size: 257 Bytes

Contents

module PolyamorousHelper

  def new_join_dependency(klass, associations = {})
    Polyamorous::JoinDependency.new klass, associations, []
  end

  def new_join(name, type = Arel::InnerJoin, klass = nil)
    Polyamorous::Join.new name, type, klass
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
polyamorous-0.6.4 spec/helpers/polyamorous_helper.rb
polyamorous-0.6.3 spec/helpers/polyamorous_helper.rb
polyamorous-0.6.2 spec/helpers/polyamorous_helper.rb
polyamorous-0.6.0 spec/helpers/polyamorous_helper.rb
polyamorous-0.5.0 spec/helpers/polyamorous_helper.rb