1 2 3 4 5 6
# frozen_string_literal: true class Electron < ActiveRecord::Base belongs_to :molecule validates_presence_of :name end