nifty-generators icon indicating copy to clipboard operation
nifty-generators copied to clipboard

Issue Running nifty:scaffold

Open dougc84 opened this issue 13 years ago • 2 comments

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 avatar Apr 21 '11 19:04 dougc84

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

rails g nifty:scaffold --help

dougc84 avatar Apr 21 '11 19:04 dougc84

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

ryanb avatar Apr 21 '11 21:04 ryanb