2017-04-24 23:19:05 -04:00

5 lines
111 B
Ruby

class Oyster < ApplicationRecord
belongs_to :run
scope :run_id, -> (id) { where run_id: id.to_i }
end