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.

Memoizing in Ruby

This has been written about before, and will no doubt be written about again. Memoizing in Ruby addresses the oft-seen footgun of memoizing falsy values. Spoiler alert: you don’t need a gem, you just need some basic Ruby knowledge.

FasterPath v0.3.9 released!

Did you know the Rails web page load time spends about two thirds of its time handling your assets file paths? Would you like to improve your sites performance by over 50%? FasterPath may just help you do that. FasterPath rewrites file path handling methods from Ruby and C in to Rust for better performance. FasterPath includes binary releases so you won’t need to compile it on your server to use, provided you’re using a Ruby version we’ve pre-compiled for. Now including faster than C code for File.basename, File.extname, and File.dirname.

Are you tired of flaky automated browser tests?

A key problem with browser tests are that changes to HTML style and structure cause unintended test failures and contribute to flaky tests. The UI Interactors gem makes it simple to write automated browser tests using selenium-webdriver - tests which are resilient to HTML structure and style changes. Use the gem with your favorite testing framework. The gem’s readme is comprehensive. It’s still early days, but if you have suffered from the problem, I think you will find the gem useful.

Contribute to RVM, Homebrew and Exercism, May 11-12 at ROSS conf Amsterdam

ROSS conf Amsterdam gives (Ruby) open source software maintainers the platform to introduce their project to an audience of first time as well as existing contributors. After 15 minute introductions to the project, pressing issues and requests, the conference day is reserved for hands-on programming (or contributing through updating documentation or adding artwork!) and pairing with the maintainers in small groups. To conclude the hackathon the maintainers present data on bugs fixed, issues assigned, contributions made etc. [more inside]

Build Presentations / Talks w/ (Strutured) Text with Jekyll Themes and Slideshow (S9)

Hello, yesterday’s Austria.TXT talk notes titled Build Presentations / Talks (‘n’ Handout Notes) w/ (Structured) Text w/ Formatting in Markdown and Jekyll Themes (Bespoke.js, Reveal.js, S6, …) ‘n’ the Slideshow (S9) Website Compiler. Cheers. Prost. PS: What’s your way to build / design / write presentations / talks with Jekyll and friends (in Ruby)?

Lazy Load Bootstrap Modal in Rails

lazy_modal a gem that can lazy load complete bootstrap modal html dom from remote. bootstrap provide remote url configure can load modal content html dom but how about all bootstrap modal html dom loaded from remote? maybe lazy_modal can help you :)

How to Track Down and Fix Slow Active Record SQL Queries in Rails

Scaling issues are great because it means that you have a traffic on your website. Before you decide that “Rails doesn’t scale!” and start a rewrite to some potentially more performant tech stack, maybe you should double check your database queries first. Below I describe some tools and techniques you can use to track down, diagnose and fix slow Active Record queries. [more inside]

Loading older posts