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

A collection of useful Rails generator scripts.

Results 64 nifty-generators issues
Sort by recently updated
recently updated
newest added

$ rails g nifty:scaffold PastaRecipe name:string index new Running via Spring preloader in process 498 create app/models/pasta_recipe.rb create test/unit/pasta_recipe_test.rb create test/fixtures/pasta_recipes.yml /home/riccardo/.rvm/gems/ruby-2.2.6/gems/nifty-generators-0.4.6/lib/generators/nifty/scaffold/scaffold_generator.rb:85:in `create_migration': wrong number of arguments (given 3, expected...

Hi, I'm getting this error on what had been a perfectly functional authentication system using nifty auth. Could not log "sql.active_record" event. NoMethodError: undefined method `name' for nil:NilClass PG::Error: ERROR:...

When I try to run the authentication generator with Rails 4, I get this error: ``` gemfile bcrypt-ruby gemfile mocha create app/models/user.rb create app/controllers/users_controller.rb create app/controllers/sessions_controller.rb create app/helpers/users_helper.rb create app/helpers/sessions_helper.rb...

Just created a new rvm install of ruby-1.9.3-p194 with only the Rails 3.2.3 gems and nifty-generator (and whatever dependencies came in for those things after I did a bundle install)...

I used the nifty:scaffold to generate a scaffold for my pre-existing Media model. The scaffold generated the following paths (amongst others) as part of the scaffold, - edit_media_path - new_media_path...

my gem file gem 'rails', '4.2.4' gem 'mysql2','~> 0.3.20' gem 'sass-rails', '~> 5.0' gem 'devise' gem "nifty-generators", :group => :development gem 'uglifier', '>= 1.3.0' gem 'coffee-rails', '~> 4.1.0' gem 'jquery-rails'...

With this change rake test called from features works like charm.

Without this fix, the login form isn't displayed if you aren't using authlogic. Thanks for the great gem!