2015-08-14 14:05:09 +02:00
|
|
|
class Formulaire < ActiveRecord::Base
|
2015-08-14 12:06:26 +02:00
|
|
|
has_many :types_piece_jointe
|
2015-08-17 11:15:04 +02:00
|
|
|
has_many :dossiers
|
2015-08-14 15:02:11 +02:00
|
|
|
belongs_to :evenement_vie
|
2015-08-17 17:08:13 +02:00
|
|
|
|
|
|
|
def self.for_admi_facile
|
|
|
|
where(use_admi_facile: true)
|
|
|
|
end
|
2015-08-10 11:05:06 +02:00
|
|
|
end
|