![]() | basic "Person" app issue... |
|
01 Jul 2009, 12:13
Padmanabhan Srinivasan (5 posts) |
rails 2.2 Newbie to ruby/rails. I am on page 23 of the book and when I finally got the “people” app working, the “New” page does not show the form elements ( although the table and the first_name, last_name column exists in MySQL database people_development ). I see on the console the command as “show fields in people”, and when i run this from mysql, it does show the 3 columns ( id, first_name, last_name ). So I am not sure why these two fields do not get generated in the html form ? Any ideas appreciated. Thanks pady |
|
02 Jul 2009, 00:37
Padmanabhan Srinivasan (5 posts) |
Issue fixed. I saw the other forum posting on “instant rails” and generating the scaffold was the issue. ruby script\generate scaffold Person first_name:string last_name:string Now the sample people app works. Can the authors update the ebook because this is the first example ? Thanks pady |
| You must be logged in to comment |

