i am following step by step tutorial of lyndan.com of basic ruby on rails.
in chaptar 12 when i am creating scaffold then it is not generating
controller for albums and artists tables.
please help me out. And all file and folder is generating.
see code....
C:\InstantRails-2.0-win_2\rails_apps\music_library>ruby script/generate
scaffold Album id:int title:varchar artist_old:varchar release_date:datetime
genre:varchar created
_at:datetime updated_at:datetime image_path:varchar artist_id:int
exists app/models/
exists app/controllers/
exists app/helpers/
exists app/views/albums
exists app/views/layouts/
exists test/functional/
exists test/unit/
identical app/views/albums/index.html.erb
identical app/views/albums/show.html.erb
identical app/views/albums/new.html.erb
identical app/views/albums/edit.html.erb
identical app/views/layouts/albums.html.erb
identical public/stylesheets/scaffold.css
dependency model
exists app/models/
exists test/unit/
exists test/fixtures/
identical app/models/album.rb
identical test/unit/album_test.rb
skip test/fixtures/albums.yml
exists db/migrate
Another migration is already named create_albums:
db/migrate/001_create_albums.rb
here controller.rb file is not present
thanks in advance
--
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.