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.
The Best Features of Active Storage
Rails 5.2 finally delivers file upload functionality straight out-of-the-box with a brand new core library called Active Storage. I’ve been using it in client work and side projects since the beta release, and the experience has been fantastic! If you haven’t had a chance to try it yet or you’re debating whether to use it in your next project, check this out: http://www.carlosramireziii.com/the-best-features-of-active-storage.html
The redo Keyword in Ruby
In the following article, we’re going to explore the following topics:
Smuggle gem! Exports and imports with ease
It’s a gem to manage exports and imports with ease, separating the logic from the models, resulting in a cleaner codebase. Read more
Understanding Transducers in Ruby
Translating one of my personal favorites into Ruby, will be writing more on this later. Read more
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!
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 Read more
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. Read more
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: Read more
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.