class Taxon < ActiveRecord::Base

  belongs_to :taxonomy, inverse_of: :taxons

  validates :name, presence: true
  validates :taxonomy_id, presence: true

end

class Taxon < ActiveRecord::Base

  belongs_to :taxonomy, inverse_of: :taxons, touch: true

  validates :name, presence: true
  validates :taxonomy_id, presence: true

end

Add touch to Taxon belongs_to Taxonomy association
Add touch to Taxon belongs_to Taxonomy association
