2017-07-09 13:41:28 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2010-07-26 15:12:36 -04:00
|
|
|
class Molecule < ActiveRecord::Base
|
|
|
|
belongs_to :liquid
|
|
|
|
has_many :electrons
|
2014-02-08 15:46:32 -05:00
|
|
|
|
|
|
|
accepts_nested_attributes_for :electrons
|
2010-07-26 15:12:36 -04:00
|
|
|
end
|