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.

Three Ways to Redefine a Private Method

Learn the different ways to redefine a private method and evaluate the impact of each approach.

Why would I want to redefine a private method?
Brad is asking the important question, but it’s also worth pointing out that va…
This was done in a real project I worked by a developer who redefined a private…

Create maintainable queries in Ruby with query object and criterias

Leaving query logic in a single class lead to god objects hard to maintain, I explain a maintainable alternative with query objects and criterias The examples use mongodb but can be implemented with Active Record too.

You also have siphon to dynamically apply scopes on any activeRelation object. …

Architecting Rails Apps as Microservices

Monolith or Microservices? Designing your Rails app to work well with Microservices involves providing clear interfaces across the different boundaries of functionality in your app. Once the boundaries have been defined, how do you communicate across them? HTTP, queues? What if a service is down? These are some of the topics I cover in this article.

The Lazy Developer's Guide to Life Without the Mouse, Cursor and Useless Keys

Dare I broach the topic of the Vim vs Emacs holy war? I’ve tried both editors, but ultimately Vim stole my heart and, in doing so, turned my life into hell. It’s such a pleasure to use; nothing else compares to it. Suddenly, I hate typing with any application that doesn’t use the HJKL keys to move the cursor, and I find myself becoming frustrated whenever I need to use the mouse! So what changes can I implement to ease my pain and make my life easier, you ask?

Setting a default image when using Cloudinary and CarrierWave in Rails

Cloudinary lets you specify a default_image parameter when using the cl_image_tag, along with all of your transformations, to provide a fallback image if one has not been uploaded. If, however, you are using CarrierWave, you’ll likely want to define your transformations and the fallback image just once in your Uploader class, but this is not well documented - here’s how to do it. Read more

Brakeman Pro 1.0 Now Available

Brakeman Pro, the commercial version of the open source Brakeman static analysis security tool for Ruby on Rails, has just been released. It provides a streamlined desktop GUI interface to manage scans and investigate warnings as well as a drop-in command-line replacement for Brakeman.

Send emails with Mandrill and Rails

Mandrill by MailChimp is an online service that sends transactional emails. We have used it to send emails in our Ruby on Rails apps for some time now, and we’ll show how to do that here.

Do you really want to have plain Mandrill password into config files ? Shouldn’…
Same question as Fabien !
Hey Pierre, I finally find this into Mandrill documentation : https://mandrill.…
Hey Fabien, thank you, very usefull! But I’ve already read it…not the solution …
Loading older posts