Nesting proofs to user resource and setting requirement with a hidden field.
Le 12 mars 2014 04:17, "Akshat Pradhan" <notifications@github.com> a écrit :

> In app/views/proofs/new.html.erb:
>
> > @@ -3,6 +3,7 @@
> >      <div class="col-md-12">
> >        <%= form_for([@standard, @proof]) do |form| %>
> >        <div>
> > +        <%= form.hidden_field :user_id %>
>
> @adamico <https://github.com/adamico> What do you think is the best
> course of action?
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/akshatpradhan/compliance_chimp/pull/14/files#r10504368>
> .
>