RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Submit a post

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

Module in Ruby

Ruby has many strengths and is a very malleable language. Ruby can be written functionally or object oriented. I tend to lean toward the latter and find myself using a few different patterns regularly. One powerful tool Ruby provides is the use of Modules. You can learn how to use this tool by extending and including modules

Worth mentioning: if you are using rails then an interface for this pattern is …

JRuby - Just Ruby

What is JRuby? Well it is just Ruby, with some sweet performance and parallelism of course! Read about it, who uses it and other advantages here: JRuby - Just Ruby

Unimpressed

Citizenship - simple yet useful validation of Portuguese cards

Citizenship is a simple gem that allows validation of Portuguese documents or common identifiers, such as citizen card numbers, bank account numbers (NIB), fiscal numbers (NIF) and more. As most of these IDs have some kind of checksum, Citizenship calculates and verifies them accordingly. We also provide some convenient methods for validating local phone numbers and email addresses. [more inside]

Sending Transactional Emails From Rails

It seems transactional emails are an afterthought for developers, but it’s an important part of doing business online. The most successful software business, especially ecommerce, optimize their transactional emails to increase engagement and revenue. If you want to leverage (or help your client leverage) transacational emails as a communication tool that drive business results, I’ve compiled the best content on the topic into an email course for you. In the email course, we’ll cover… ++ What exactly are transactional emails? And why are they important? [more inside]

Taskmanaging Your App, Part 2: Service Objects

Everything provides a service these days, including the software that we write! But sometimes, our own code needs a service to show up and handle a task. Enter service objects, a simple way to use Plain Old Ruby Objects to service your application. This blog post explains how and when to abstract and encapsulate your ideas into a service object and help you separate your concerns.

New RubyTapas freebie, and a birthday sale

Hi all! I’ve put up a new RubyTapas freebie video today. It’s about un-indenting strings. This is a solved problem, of course; but this video walks through the process of applying assorted handy Ruby features to take it from several lines of code to one very succinct line. You might learn something new along the way. See the episode, along with some celebratory birthday discounts, here.

Loading older posts