On Saturday, October 5, 2019 at 12:19:22 AM UTC-4, [email protected] wrote:
>
> [response inline]
>
> On Fri, 4 Oct 2019 at 21:08, fugee ohu <[email protected] <javascript:>> 
> wrote:
>
>>  has_many :item_properties, through: :item_item_properties
>>
>
> Implying that you have a model corresponding to item_item_properties. You 
> can add fields to it through the relevant migration or using the migration 
> convenience generator.  -- H
>
> -- 
> OpenPGP: 
> https://sks-keyservers.net/pks/lookup?op=get&search=0xFEBAD7FFD041BBA1
> If you wish to request my time, please do so using 
> *bit.ly/hd1AppointmentRequest 
> <http://bit.ly/hd1AppointmentRequest>*.
> Si vous voudrais faire connnaisance, allez a *bit.ly/hd1AppointmentRequest 
> <http://bit.ly/hd1AppointmentRequest>*.
>
> <https://sks-keyservers.net/pks/lookup?op=get&search=0xFEBAD7FFD041BBA1>Sent 
> from my mobile device
> Envoye de mon portable
>

I'm creating a new item passing in item_type in my get request to the item 
controller new action 
item_properties has the item_type and name fields
item_item_properties has the item_id and text_value fields
how do i get the fields for item_item_properties on the new item form?

>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/fb77d5f1-12da-48c9-8459-e7818a744b88%40googlegroups.com.

Reply via email to