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
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Better File Uploads with Shrine: Motivation
This is the 1st part of a series of blog posts about Shrine. Before I go in depth explaining all of the cool things that you can do with Shrine, I wanted to first talk about the motivation behind creating it.
Sneakers Exponential Retry Handler
A Sneakers retry handler dealing with RabbitMQ job retries exponentially. [more inside]
Ruby’s Swiss Army Knife: The Enumerable Module
Ruby’s Enumerable module is capable of solving a variety of problems with precise, compact tools, which can make you a much better Ruby programmer. [more inside]
Assert Yourself - an Introduction to Minitest
A detailed introduction on Ruby’s built-in testing framework, Minitest. [more inside]
Rails Rumble is now Ruby Rampage & 2016 Registration is now Open!
After years of always being open to more than just Rails, we’ve officially renamed Rails Rumble as Ruby Rampage (check out our slick new retro arcade design!) and have opened registration for our 2016 event, which takes place October 22nd - 23rd. Come join us!
Architect Your App For Efficiency
My 3rd post in a series about being efficient to get more value for your time. This one touches on ways to be consistent in laying out and architecting your application so you, your team and clients can be extra productive. [more inside]
Creating a multi-tenant site with rails
We recently built a multi-tenant site with rails. Here’s how we went about it: [more inside]
Application Performance Montioring
Hello All! I started building an open source application performance app, with a very non-creative name. Here is the location of the main app: https://github.com/randy-girard/app_perf and here is the ruby agent, https://github.com/randy-girard/app_perf_ruby_agent [more inside]
image_searcher gem
A ruby wrapper for the Ababeen Image Search API v1.0 - the modest alternative to deprecated Google Image Search API.
Save Time, Develop Efficiently for Ruby and Rails
Time is money. Whether you want a raise or just to save yourself and your clients some time, read on to see how I develop Ruby on Rails applications efficiently [more inside]
Good Module, Bad Module
You know how to use modules in Ruby, but are you abusing them? Here are different ways to program with modules and why they may or may not be great ideas.
Ruby Gems Could Harm Your Memory
Or how we should be judicious choosing dependencies. [more inside]
How to scrape websites with Ruby & Poltergeist
A tutorial showing you how to scrape websites with Ruby and the Poltergeist gem, a PhantomJS driver for Capybara: http://readysteadycode.com/howto-scrape-websites-with-ruby-and-poltergeist
Five Gotchas in Rails
This post shows you five gotchas that might trap you in Rails. [more inside]
Augmenting a Ruby on Rails App with Vue.js
A demonstration of using Vue.js components and directives to augment a simple checkout form. [more inside]
cdnget 0.3.0 downloads JS/CSS from public CDN
Small but useful command cdnget 0.3.0 released, which downloads Javascript/CSS libraries from public CDN (CDNJS, Google or jsDelivr).
Example:
$ mkdir -p static/lib;
$ cdnget cdnjs twitter-bootstrap 3.3.7 static/lib
When abstraction is a mistake: ActionController::TestCase
On example of ActionController::TestCase, I’ll show why hiding things into an abstraction is sometimes not the best thing Rails can do. Read more
Build a Fantasy Football News Hotline with Ruby and Twilio Voice
From 1972 until the mid-90s, a business called Sports Phone was about the only way for fans to get up-to-the-minute scores and news. We thought it’d be fun to recreate Sports Phone using an RSS feed, Twilio Voice, and 30 lines of Ruby. Read more.
Better ActionMailer testing with ActionMailerMatchers
ActionMailerMatchers provides you with RSpec one-liners that help you to test sending emails in your Rails application. [more inside]
Rails lets us focus on the hard stuff
Staying focused on business needs, and letting Rails handle the rest, was the only way to ship. This is a defense of the full-stack framework. Read more
Making a JS plug-in: a Full-Stack approach
We will introduce a way to create a client side JavaScript plug-in that can be easily integrated in any third party websites. This plug-in will allow us to execute custom actions such as filling a registration form or maybe displaying information related with your website. https://blog.xmartlabs.com/2016/08/30/making-a-js-plug-in-a-full-stack-approach/
Slide Show (S9) Update - Write Your Talks w / Markdown (kramdown) n Jekyll Themes
Hello, I’ve updated the Slide Show (S9) machinery. All slide show templates / theme packs are now just Jekyll themes (using Liquid) and thanks to the latest GitHub update back on the master branch (e.g. no more gh-pages needed). The latest theme packs include Reveal.js and Shower. For some example see: Reveal.js templates and the live demo • Shower templates and the live demo. ++ Any favorite slide show/presentation package? Questions? Comments? Welcome. Cheers.