lib/generators/templates/impression.rb in impressionist-1.4.2 vs lib/generators/templates/impression.rb in impressionist-1.4.3
- old
+ new
@@ -1,5 +1,6 @@
# Use this hook to configure impressionist parameters
-Impressionist.setup do |config|
+#Impressionist.setup do |config|
# Define ORM. Could be :active_record (default), :mongo_mapper or :mongoid
# config.orm = :active_record
-end
+#end
+Impressionist.orm = :<%= options.orm if options.orm %>