• At Red Hat, all of our instant internal messaging is done through IRC. Because of this, many of our channels have a couple bots in them that do things like process links, report new pull requests, and keep track of users’ karma. 

    Read more
  • Incredibly useful, though un-intuitively named, Ruby’s Enumerable module is a kind of Swiss Army Knife, capable of solving a variety of problems with precise, compact tools. In many cases where people write Ruby that isn’t idiomatic, more akin to Java or Python in style, it’s because they don’t have a deep understanding of the elegant tools offered by Enumerable.

    Read more
  • A refactoring tool for Ruby, designed to make it safe to change code you don't confidently understand. In fact, changing untrustworthy code is so fraught, Suture hopes to make it safer to completely reimplement a code path.

    Read more
  • Action Mailer is the Rails components that enable application to send and receive email. In this chapter, we will see how to send an emails using Rails. Let’s start creating an email project using the following commands.

    Read more
  • In this article we are going to discuss how to build more complex forms using Rails’ nested attributes feature. I will show you how to manipulate multiple associated records from a single form and properly set up the models and controller to enable this feature. 

    Read more