Displaying 1 result from an estimated 1 matches for "t_recordtyp".
Did you mean:
t_recordtype
2005 Mar 23
2
0.11 problems
...he command)
I deleted my project and recreated from scratch. So in short
rails projectname
cd projectname
edit config/database.yml (my database is postgres by the way)
ruby scripts/generate model Recordtype
ruby scripts/generate controller recordtype
My table name is actually t_recordtype so I edit my recordtype.rb model
and add
set_table_name "t_recordtype"
I then edit my controller and add
model :recordtype
scaffold :recordtype
And go to look at my wonderful new screen. But all I get is
NoMethodError in Recordtype#index
undefined method ''discard'...