Sha256: 491ac6f7fcabbe8f2dada0a271697e69d337f82f858e6d61b00cfe961454ea02

Contents?: true

Size: 192 Bytes

Versions: 10

Compression:

Stored size: 192 Bytes

Contents

module HashBrowns
  module RelationsHelpers

    def parent_setter(child, parent)
      return parent if HashBrowns.conf.parent_overrides.include?(parent)
      return child
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
hashbrowns-0.2.5 lib/hashbrowns/helpers/relations_helpers.rb
hashbrowns-0.2.4 lib/hashbrowns/helpers/relations_helpers.rb
hashbrowns-0.2.3 lib/hashbrowns/helpers/relations_helpers.rb
hashbrowns-0.2.2 lib/hashbrowns/helpers/relations_helpers.rb
hashbrowns-0.2.1 lib/hashbrowns/helpers/relations_helpers.rb
hashbrowns-0.2.0 lib/hashbrowns/helpers/relations_helpers.rb
hashbrowns-0.1.6 lib/hashbrowns/helpers/relations_helpers.rb
hashbrowns-0.1.5 lib/hashbrowns/helpers/relations_helpers.rb
hashbrowns-0.1.4 lib/hashbrowns/helpers/relations_helpers.rb
hashbrowns-0.1.3 lib/hashbrowns/helpers/relations_helpers.rb