aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/electron.rb
blob: 902006b314f235a3ddb6f4fb04e8aa1cbdd2d0a1 (plain) (blame)
1
2
3
4
5
6
7
# frozen_string_literal: true

class Electron < ActiveRecord::Base
  belongs_to :molecule

  validates_presence_of :name
end