The ability to scale out effectively, working without a fixed schema and storing data in aggregates are the main reasons developers consider using “NoSQL” databases. However I was attracted to MongoDB in a recent personal project by the fact that …
I do really like the Heredoc format allowing you easily create multiple lines explicit strings in Ruby. However you will suffer from a trailing newline which most of the time you won’t want.
html_expected = <<eos…
In development.rb, set these as follows:
config.assets.compress = true…