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.
Diving into the Ruby source code: BigDecimal rounding options
One of the best ways to increase your understanding is to dive into the source code. Jonathan Miles recently did just that to better understand BigDecimal rounding options in Ruby.
Image Upload Carrierwave Tutorial with Jets Ruby Serverless Framework
We’ll cover how to upload images or any file with Jets and Carrierwave in this tutorial guide. The full source code and a live demo is provided in the post.
Building AWS Lambdas for Real World using Ruby and Serverless Framework
Currently, you can easily find several blog posts and tutorials explaining how to build your own Lambda functions in Ruby, most of them using the famous Hello World as example, which is good as a starting point, but, let’s be honest, you won’t need to build something as simple as a Hello World. You will need to face real-world issues regarding automated testing, using other services, building/deploying, handling dependencies, etc. Read more
Project health indicators on the Ruby Toolbox
The Ruby Toolbox is a website that tries to make finding popular and maintained open source Ruby libraries easier. In a recent community survey many users requested a better way to see the maintenance status of libraries. Today, I have launched new project health indicators to help with that.
Serverless Slack bot on Lambda with Ruby (and what’s the less pleasant part about it)
A journey of moving our slack bot from Heroku to AWS Lambda:
How to Reduce Memory Usage by Tuning Gemfile
Hey! I’d like to share a simple technique for reducing memory usage in Rails apps by splitting gems into web- and worker-related groups and loading only what’s necessary:
very simple guard implementation
Tired of manually specifying “rspec models/user.rb controllers/users_controller.rb … “ Read more
Boosting the development environment with Vagrant and Ansible
Boosting the development environment with Vagrant and Ansible Read more
Ruby Sinatra on AWS Lambda
AWS Lambda now Supports Ruby natively. That means we can build serverless applications with the language we all love. Not only that doh. You can run small Sinatra microservices with AWS serverless approach and in this article we will have a look how/why. Read more
How Squashing commits can make you smile.
How to improve every day of every developer with a little help of GIT 😀 Read more
Ruby Kafka Messaging App using Docker
A simple Ruby messaging app running in a container that connects to Kafka running in another container. Ruby Kafka Producer Consumer
The clipboard gem, or: How to `pbcopy` on non-Mac operating systems
Did you know how simple it is to access the clipboard from Ruby? It’s just Clipboard.copy and Clipboard.paste when you use the clipboard gem. The newest release includes support for WSL, the Windows Subsystem for Linux.
Mastering data structures in Ruby — Persistent lists
This post is the closing post of a series on mastering data structures in Ruby where I introduce the concept of persistent data structures, a term coined by Driscoll in an article from 1986 that these days it’s at the core of most purely functional data structures. On this article, I’ll review the core aspects of persistent data structures and show you how to implement persistent, immutable linked lists using the Ruby programming language. I hope you like it! Mastering data structures in Ruby — Persistent lists
CircleCI private Slack notifications with a Ruby AWS Lambda
This article shows how to build a ruby lambda with some additional gems (and specs) to create a private Slack notification when CircleCI builds fail. Read more
5 mistakes we made in early phase of rails project
I tried to summarize the most painful mistakes we made in the early phases of rails project. Enjoy and share your thoughts:
MiniI18n - New release with custom plurals rules
I just released a new version (v0.8.0) of MiniI18n gem with custom pluralization rules support. Languages vary in how they handle plurals, now you can reflect these variations by adding custom rules per locale. Read more
Elixir/Unix style pipe operations in Ruby
This proof of concept demonstrates a concise/elegant syntax for pipelining and method composition! Read more