Sha256: c817c15c48371c55373e386c9cd55741ad6f4629689a37fb3446ab55a94eb7ab
Contents?: true
Size: 321 Bytes
Versions: 1
Compression:
Stored size: 321 Bytes
Contents
module Plutonium module Core module Fields module Inputs class BelongsToInput < AssociationInput private def param (reflection.respond_to?(:options) && reflection.options[:foreign_key]) || :"#{reflection.name}_id" end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
plutonium-0.5.0 | lib/plutonium/core/fields/inputs/belongs_to_input.rb |