lib/padrino-gen/generators/components/orms/ohm.rb in padrino-gen-0.11.3 vs lib/padrino-gen/generators/components/orms/ohm.rb in padrino-gen-0.11.4

- old
+ new

@@ -1,9 +1,9 @@ OHM = (<<-OHM) unless defined?(OHM) -# Ohm does not have the concept of namespaces +# Ohm does not have the concept of namespaces. # This means that you will not be able to have -# a distinct test,development or production database +# a distinct test, development, or production database. # # You can, however, run multiple redis servers on the same host # and point to them based on the environment: # # case Padrino.env @@ -12,10 +12,10 @@ # when :test then Ohm.connect(:port => 6381) # end # Alternatively, you can try specifying a difference :db # which, outside of confirmation, appears to provide distinct -# namespaces from testing +# namespaces from testing: # case Padrino.env # when :development then Ohm.connect(:db => 0) # when :production then Ohm.connect(:db => 1) # when :test then Ohm.connect(:db => 2) # end