demarches-normaliennes/app/models/formulaire.rb
2015-08-17 17:08:13 +02:00

9 lines
189 B
Ruby

class Formulaire < ActiveRecord::Base
has_many :types_piece_jointe
has_many :dossiers
belongs_to :evenement_vie
def self.for_admi_facile
where(use_admi_facile: true)
end
end