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.
Send monit alerts to slack
Monit2Slack is a small, but useful, gem that sends monit alerts to a slack channel via a webhook.
A command line interface gem for caniuse.com
The cani gem allows you to browse caniuse.com data directly in the terminal. It can show feature support for a specific browser version or display all features with per-browser support. It also ships with auto completions for zsh, bash and fish shells. Visit the github repo for more information. Happy caniuse terminal-browsing :)
refine & using keywords in Ruby
In this article, we’re going to explore the following topics:
Measure performance trends of Ruby code
benchmark-trend will help you estimate the computational complexity of Ruby code by running it on inputs increasing in size, measuring their execution times, and then fitting these observations into a model that best predicts how a given Ruby code will scale as a function of growing workload. Enjoy!
SmsKit
SmsKit offers a streamlined API for sending text messages through any supported provider. [more inside]
FCM push notification with rails and ionic
This post will walk you through how to send push notifications using google FCM, rails and ionic 3.x [more inside]
How I got my first pull request merged on Rails-core
A guide on what developers can do to level up their open-source contributions - while still working a full time day job
Queue Up and Thread Safely
How a bug changed my mind about thread safety on Ruby
Using Rails Session Cookies for API Authentication
Avoid the security perils of storing an API access token in localStorage by using session cookies to authenticate users of a Rails 5 API.
Top 19 Ruby gems you can’t miss in 2018
Best Ruby gems for smooth web development:
Small but might be useful gem in pair with font awesome
simple but might be useful on projects where you have list of attachments and you have font awesome. [more inside]
Local SSL for Rails 5 development and system tests
I recently set up a Rails 5 app for local development and system tests over SSL with wildcard domains—and lived to tell the tale.
How to collect, customize, and manage Rails application logs
This post talks about getting the most out of your Rails application logs and further enhancing them with the Lograge gem:
Dockerizing a Rails Application
If you are wondering how to get started with Docker and Rails, this video got you covered: [more inside]
Nectarine - a parallel map in Rails using Active Job
Parallel processing in Ruby and Rails is still fraught with problems. Thought maybe an easy way out is just to use our Job queue. Here’s Nectarine a proof of concept doing parallel processing just using Active Job before returning control to the main thread:
Rack Explained For Ruby Developers
Would you like to know what goes on behind the scenes of Rails, Sinatra, and other Ruby web frameworks? Then this article is for you!
Count articles by category on search in Ruby on Rails
Have you ever wanted to calculate how many articles will be left in a certain category after search? In this blog post, I will show you how to use elastic aggregations to achieve this. Count articles by category on search in Ruby on Rails
We need to talk about changelogs.
We think that changelogs are an important part of any open source project’s documentation and in this short post, we’re sharing three good reasons to spend the extra time and effort to create changelogs for humans.
International Ruby Conferences Fall 2018
Every quarter, we publish an article about Ruby conferences worth visiting. This fall isn’t an exception:
Codemy.net V2 and is Rails still Relevant? - Lab Report [006]
We walk you through the new Codemy.net site and discuss the controversial topic of is Ruby on Rails still relevant in 2018?
Closures in Ruby: Blocks, Procs and Lambdas
In Ruby Magic we love to dive into the magic behind the things we use every day to understand how they work. In this edition, we’ll explore the differences between blocks, procs and lambdas.
Complicode! A needlessly complicated code generator!
Complicode (pun intended) it’s an implementation of the “algorithm” to generate control codes for invoices inside the Bolivian national tax service. [more inside]
Standardize Rails log output
Cast logs into uniform format for a centralized log management tool [MORE INSIDE]