Re: [Rails] rails g scaffold creates strange form

2019-12-13 Thread Walter Lee Davis
> On Dec 13, 2019, at 4:40 AM, fugee ohu wrote: > > In this form created by the scaffold generator all the field names are > prepended with the table_name plus underscore What causes this to happen in > rails 5.1.7 > > > <%= form.label :start_date %> > <%= form.datetime_select

[Rails] rails g scaffold creates strange form

2019-12-13 Thread fugee ohu
In this form created by the scaffold generator all the field names are prepended with the table_name plus underscore What causes this to happen in rails 5.1.7 <%= form.label :start_date %> <%= form.datetime_select :start_date, id: :auction_listing_start_date %> -- You received

Re: [Rails] [ANN] Rails 6.0.2 has been released!

2019-12-13 Thread Hasan Diwan
Congrats! On Fri, 13 Dec 2019 at 11:09, Rafael Mendonça França < rafaelmfra...@gmail.com> wrote: > Hi everyone, > > I am happy to announce that Rails 6.0.2 has been released. > > > ## CHANGES since 6.0.1 > > To view the changes for each gem, please read the changelogs on GitHub: > * [Action

[Rails] [ANN] Rails 6.0.2 has been released!

2019-12-13 Thread Rafael Mendonça França
Hi everyone, I am happy to announce that Rails 6.0.2 has been released. ## CHANGES since 6.0.1 To view the changes for each gem, please read the changelogs on GitHub: * [Action Cable CHANGELOG](https://github.com/rails/rails/blob/v6.0.2/actioncable/CHANGELOG.md) * [Action Mailbox

Re: [Rails] rails g scaffold creates strange form

2019-12-13 Thread fugee ohu
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

[Rails] .@PMOIndia @AmitShah @smritiirani @rsprasad Punish the guilty as per Supreme Court's order #NoMoreDelays #JusticeForNirbhaya

2019-12-13 Thread nitinkumar . mathur
Hey, I just signed the petition ".@PMOIndia @AmitShah @smritiirani @rsprasad Punish the guilty as per Supreme Court's order #NoMoreDelays #JusticeForNirbhaya" and wanted to see if you could help by adding your name. Our goal is to reach 150,000 signatures and we need more support. You can read

Re: [Rails] rails g scaffold creates strange form

2019-12-13 Thread Walter Lee Davis
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: 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 >