JS-Tech/resj

View on GitHub
app/models/canton.rb

Summary

Maintainability
A
0 mins
Test Coverage
class Canton < ApplicationRecord

  has_many :locations

  scope :romand, -> { where(name: ["Vaud", "Fribourg", "Genève", "Neuchâtel", "Berne"])}

end