aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/electron.rb
blob: 6fc270673f49c2f7abce06fb2b27414136802304 (plain) (blame)
1
2
3
4
5
class Electron < ActiveRecord::Base
  belongs_to :molecule

  validates_presence_of :name
end