Forum: Ruby on Rails Using scaffolding with Ruby 4.1.0 on existing Db

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
5a2e7ad0ac14916775fb47c651cdbb7a?d=identicon&s=25 Al Rushing (alrushing)
on 2014-08-20 17:51
Thanks in advance for the great responses on this forum.

My question is this:

       Let's say I have a MySQL database with three tables.  Referential
integrity is set up in the database, so invalid keys will cause a non
zero query return code.
       The tables are:
             Category which owns  table Type    and
             Type     which owns  table Widget  and
             Widget   which has description, price and quantity values.

       I want to generate a basic CRUD functionality over these three.
       I also want to have drop down boxes on Type and Widget so that
       Category parent can be selected for Type and
       Type parent can be selected for Widget

       What Ruby scaffolding commands would now be required to generate
and also deploy this?

       Is the Nifty gem the most complete, or are there now better
choices?

       There seems to have been changes since Ruby 2.0 previously
discussed on this forum.   Yes?

       RoR is the best thing since sliced bread!

Al.
This topic is locked and can not be replied to.