this looks like a very interesting project, I've been having some issues
with assigning associations thru a form on an related type of app, getting
a form that crates an polymorphic association when a provider creates an
order and such. would you be up for an email chat on the topic by chance?
>
> I fix the problem.
>
It is very annoying when this types of mistakes do not generate an error.
(It is almost as bad as my day of c programming chasing a memory leak.
dgb to the rescue.)
class PatientsController < ApplicationController
def create
@patient = Patient.new(patient_params)
I forgot to post this line for the Patient class.
accepts_nested_attributes_for :elig, reject_if: :all_blank,
allow_destroy: false
On Saturday, May 14, 2016 at 7:39:18 PM UTC-4, Luis wrote:
>
> Hi all,
>
> this form will not display the nested part when it fails validation.
> What is really t
3 matches
Mail list logo