Re: [Rails/Postgres] DB migrate scripts break on references
botp <[email protected]>
| Newsgroups | gmane.comp.lang.ruby.general |
|---|---|
| Message-ID | <CAAwHHQg=ATuT72dzFuZ8BTsrNtaYV5EO-J4aeEEjLJ-e-E+mjQ@mail.gmail.com> |
On Wed, Oct 10, 2018 at 7:41 AM Joe Tseng <[email protected]> wrote: > > $ rails g scaffold SchoolClass name > $ rails g scaffold Student name SchoolClass:references > try using snake_case notation. eg, bin/rails g scaffold school_class name bin/rails g scaffold student name school_class:references best regards --botp Unsubscribe: <mailto:[email protected]?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>