Testing Helpers That Use Scoped Translations
Update: While this technique is useful when you actually need to bind a template to your helper test, most of the time you can simply stub the helper right there, using something like stub(self).t(‘.title’) { "Title" }
Once on a beautiful day the sun was shining and the room was full of pleasant warmth. I was [...]
Off Github
Right about now everyone is switching away from GitHub gem host. It’s crappy enough that you have to edit environments in your config files — you also have to reinstall the big pile of gems on your machines. Cleaning up my big old gem list doesn’t strike me as a fun leisure time.
Off Github is [...]
Drier gem configs
Update: This article is obsolete. Gemcutter should take first place in your gem sources. This way there is no reason to use :source option at all.
Now is the worst time for duplication in gem configs with all the changes going on. GitHub is not a gem host anymore. Soon RubyForge may follow the same path.
with_options [...]