Skip to content

Instantly share code, notes, and snippets.

@timboisvert
Created October 13, 2013 04:31
Show Gist options
  • Save timboisvert/6958193 to your computer and use it in GitHub Desktop.
Save timboisvert/6958193 to your computer and use it in GitHub Desktop.
Disable JS, CSS, Helper, Views on rails generate
# config/application.rb
module KittenFactory
class Application < Rails::Application
# Disable generation of helpers, javascripts, css, and view specs
config.generators do |generate|
generate.helper false
generate.assets false
generate.view_specs false
end
# ...
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment