Created
October 13, 2011 18:22
-
-
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 file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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