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.
MiniMagick Gem: How to Transform Images Using Ruby
Do you work with any kind of images in your Ruby application? Then there is a good chance you’ll want to change these images in one way or another. In this new article you’ll learn how:
101: Law of Demeter
In this blog note, we will explain what is the Law of Demeter, when is it broken and how to avoid breaking it by making the architecture of application better. Read more…
Mastering data structures in Ruby — Recap
Writing this series has been lots of fun, and based on feedback, I decided to write this post to provide an index (so posts can be bookmarked), and to tell you what this series was all about and what you can learn from it. So, with no further ado, let’s dive in. Mastering data structures in Ruby — Recap
How does Rails renders your templates?
This is the second post to explain the Rails template rendering mechanism. Hope you enjoy it :-)
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. [more inside]
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 … “ [more inside]
Boosting the development environment with Vagrant and Ansible
Boosting the development environment with Vagrant and Ansible [more inside]
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. [more inside]
How Squashing commits can make you smile.
How to improve every day of every developer with a little help of GIT 😀 [more inside]
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