Enhancer of Rails’ content_for system. Allows defaults, and no_content_for overrides in partials. For Rails 3, 4. Why? Keep the views dry with content_for_with_default and friends! Complete flexibility in defining defaults and overrides. Remove most or all logic from views. Allow for no content to override a default. DryViews provides extensions to ActionView::Helpers::CaptureHelper, which is part of ActionPack: content_for_with_default no_content_for content_for (enhanced to play nice with the above methods) The rails rendering chain is sort of inside out so the template rendering happens first, and this is what makes it possible to override everything!
An Email Condom for your Ruby Server sanitize_email This gem allows you to override your mail delivery settings, globally or in a local context. It is like a Ruby encrusted condom for your email server, just in case it decides to have intercourse with other servers via sundry mail protocols. Summary It’s particularly helpful when you want to prevent the delivery of email (e.g. in development/test environments) or alter the to/cc/bcc (e.
For those engaged in the pillage and plunder of comma separated values. I needed a way to handily create CSVs anytime I want to because I have clients that ask for reports of data all the time. So I wrote a plugin and then turned it into a gem! The source is written in Piratey Ruby. So check my source =) http://github.com/pboling/csv_pirate Originally posted to my old blog Hero image (cropped) by Zoltan Tasi