Sha256: 9ad6ae2e00f0428dd94f3f60114d8b2e12d5b852e44a658748cbc71b5256b8ca

Contents?: true

Size: 207 Bytes

Versions: 4

Compression:

Stored size: 207 Bytes

Contents

class SpudInquiry < ActiveRecord::Base
	has_many :spud_inquiry_fields
	belongs_to :spud_inquiry_form
    accepts_nested_attributes_for :spud_inquiry_fields, :reject_if => lambda { |a| a[:name].blank? }

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spud_inquiries-0.3.3 app/models/spud_inquiry.rb
spud_inquiries-0.3.2 app/models/spud_inquiry.rb
spud_inquiries-0.3.1 app/models/spud_inquiry.rb
spud_inquiries-0.3.0 app/models/spud_inquiry.rb