We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
class Player < ActiveRecord::Base belongs_to :team, :inverse_of => :players # dropdown select: belongs_to association # or for nested fields: accepts_nested_attributes_for :team, :allow_destroy => true end # for info class Team < ActiveRecord::Base has_many :players, :inverse_of => :team end
More here