Skip to content

Instantly share code, notes, and snippets.

@rodriguezartav
Created October 13, 2011 18:22
Show Gist options
  • Save rodriguezartav/1285022 to your computer and use it in GitHub Desktop.
Save rodriguezartav/1285022 to your computer and use it in GitHub Desktop.
config/application.rb snippet for Haml and Mongomapper used by Rails Generators
#this goes in config/application.rb
#just before the closing "end" tag
#it tels rails generators to use Haml and Mongomapper
config.generators do |g|
g.orm :mongo_mapper # :active_record
g.template_engine :haml
g.stylesheet_engine = :sass
g.test_framework :rspec, :fixture => true, :views => false
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment