aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/molecule.rb
blob: 26870c8f887bd066ba4c232c60ab7442df87cfe4 (plain) (blame)
1
2
3
4
5
6
class Molecule < ActiveRecord::Base
  belongs_to :liquid
  has_many :electrons

  accepts_nested_attributes_for :electrons
end