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.


Ruby 2.2.3 Complex Basics

Ruby 2.2.3 Complex methods such as to_c, rationalize, rectangular, polar, +, -, /, *, real, imaginary and more is covered in this video

Stop Worrying and Start Being Concerned: ActiveSupport Concerns

ActiveSupport is a pretty massive component within Rails, and it’s responsible for a ton of different functionality, including language extensions and utilities. The ActiveSupport::Concern wrapper is a particularly interesting utility for encapsulating shared logic, which can help keep your models skinny and DRY. This blog post delves into the basics of when, how, and why to use a concern.

Accelerated Rails Downloads with NGINX

Rails has a send_file method that supports the NGINX X-Accel-Redirect header for accelerated downloads, but getting it work is a bit tricky. In this tutorial, I explain how send_file works, the steps involved in configuring NGINX, and how to test it.

How to Install Bootstrap 4 in Rails

Every day there’s a new library in the spotlight or maybe just a new version of a really popular one like Bootstrap in this case that doesn’t always have a corresponding ruby gem that you can install into your app yet. So what do you do? Do you sit and wait until someone decides to write one for you? Learn how to Install Bootstrap 4 right now

Wrap your methods with DB Transactions easily

Please check [more inside]

I don’t think we should put so many logic in AR record models That makes them t…
5 lines of code in my sample so many logic? Of course if creating dummy app wit…
I think the gem is helpful, and expresses intent very nicely. I also think Pika…
I understand, but that was just a sample. Thank you for feedback ;)
Loading older posts