I'm learning about Ruby on Rails. Please help me.
Althougth I do step-by-step with books(config data, generate model, add
data field in db/migrate/file.rb) but i can't generate with scaffold or
error.
When run command: ruby script\generate scaffold Employee
And check:  http://127.0.0.1:3000/employees/
--> it shows successful with show,edit,destroy however it can't show
data field although i inserted data in mysql. It shows:
                ---------------------------------------------
                Listing employees

                Show Edit Destroy
                Show Edit Destroy

                New employee
                ----------------------------------------
Or if i click on: New employee, it doesn't have textbox to input data.
It shows:
                ---------------------------------
                New employee

                Back
                ----------------------------------

About your application’s environment:

Ruby version 1.8.6 (i386-mswin32)
RubyGems version 0.9.4
Rails version 2.0.2
Active Record version 2.0.2
Action Pack version 2.0.2
Active Resource version 2.0.2
Action Mailer version 2.0.2
Active Support version 2.0.2

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to