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.
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 :-) https://medium.com/rubyinside/disassembling-rails-template-rendering-2-a99214c6fde8
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. https://blog.boltops.com/2018/12/13/jets-image-upload-carrierwave-tutorial-binary-support
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: https://medium.com/@pawelpacana/serverless-slack-bot-on-lambda-with-ruby-f43e199f8e35
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: https://www.gregnavis.com/articles/how-to-reduce-memory-usage-by-tuning-gemfile.html
very simple guard implementation
Tired of manually specifying “rspec models/user.rb controllers/users_controller.rb … “ [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
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. [more inside]
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: https://codecoding.net/ruby/on/rails/2018/12/07/top-5-mistakes-in-early-rails-project.html