On Friday, December 13, 2019 at 9:41:29 PM UTC-5, Walter Lee Davis wrote:
>
> You're looking at the id. If you look at how the form renders in a 
> browser, the name property will be the usual Rails nested format: 
>
> <input type="date" name="auction_listing[start_date]" 
> id="auction_listing_start_date"> 
>
> I can't be bothered to write out an entire set of select tags, just 
> imagine if datetime_select was written as date_tag. That's how it would 
> render. 
>
> Walter 
>
> > On Dec 13, 2019, at 3:26 PM, fugee ohu <fuge...@gmail.com <javascript:>> 
> wrote: 
> > 
> > I mean the field names Instead of just fieldname it's 
> tablename_fieldname 
> > 
> > -- 
> > 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 rubyonra...@googlegroups.com <javascript:>. 
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rubyonrails-talk/f6241dbd-793c-4efc-b698-eb59d5ed22aa%40googlegroups.com.
>  
>
>
> Heh, yea you're right What versions of rails add the id for scaffold 
generator? 

-- 
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 rubyonrails-talk+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/4ef93297-7203-45bb-a50e-4787856e05c1%40googlegroups.com.

Reply via email to