Re: Re: Ruby 1.8.7 and openssl failed compile

pravin mishra
2010-08-08T11:38:31Z

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