ryanb / nifty-generators

A collection of useful Rails generator scripts.
MIT License
1.98k stars 283 forks source link

Issue Running nifty:scaffold #100

Open dougc84 opened 13 years ago

dougc84 commented 13 years ago

See message below:

$ rails g nifty:scaffold user_attributes user_id:integer encrypted_ssn:string encrypted_dl_number:string dl_state:string dob:datetime encrypted_passport_number:string passport_date_of_issuance:datetime passport_xdate:datetime index list new edit destroy create app/models/user_attributes.rb create test/unit/user_attributes_test.rb create test/fixtures/user_attributes.yml create db/migrate/20110421192843_create_user_attributes.rb create app/controllers/user_attributes_controller.rb Could not find "actions/list.rb" in any of your source paths. Your current source paths are: /Developer/Code/code91/lib/templates/nifty/scaffold /Users/doug/.rvm/gems/ruby-1.9.2-head@rails3/gems/nifty-generators-0.4.6/lib/generators/nifty/scaffold/templates

I've uninstalled and reinstalled the gem, and I'm still getting this error. Is there a file missing from the commit?

dougc84 commented 13 years ago

Nevermind. I guess "list" isn't an available option. It might be a good idea to list these on:

rails g nifty:scaffold --help

ryanb commented 13 years ago

Also the name should be singular instead of plural (user_attribute). I'll mark these for better documentation.