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.
An overview on static websites with Jekyll
Is there any reason to prefer a dynamic platform to develop a certain website? A little overview on static websites with Jekyll
tablesmith 0.6.0 released
Yet another console table tool, focused on minimal config. Read more
A CLI app to fetch and compare numbers on coronavirus
With too much time on my hands in quarantine, I quickly wrote a CLI to fetch and compare data on the coronavirus: Read more
Solidus Events with ActiveSupport::Notifications
Solidus (the open-source Rails eCommerce) introduced events some months ago. Solidus Events are based on rails’ ActiveSupport::Notifications, so no external library was used. This article explores how they work and how they can be used to customize a store.
Build a location-aware WhatsApp weather bot with Ruby, Sinatra and Twilio
WhatsApp supports sending and receiving location data via their API. In this post we are going to see how to build a WhatsApp bot that can receive and respond to location messages.
Diggin through hashes and arrays in Ruby
A simple but effective trick for parsing nested hashes and arrays using Ruby Read more
Facade Pattern in Rails for Performance and Maintainability
Find out how and why you should use a software design pattern named Facade.
Automate Unit Tests Coverage Reports and Dependency Updates
Keep your project dependencies always up to date and maintain a certain level of test coverage.
Using AWS SAM Cookiecutter Project Templates To Kickstart Your Ruby Lambda Projects
Showcases a demo Ruby 2.7 cookiecutter project to build small event-driven workloads or medium sized micro services using AWS Lambda.
Custom Elasticsearch Search Parser
Build your own custom search parser for Elasticsearch Part 1, Part 2.
DRY up your structured plain-text files with ERB
I had a huge Markdown file (used to generate a presentation) that had many repeated elements. It was getting hard to keep those repeated elements consistent. So I slapped a method to output the formatting I need in ERB tags directly within the file, threw an .erb extension on the file name, and used the “erb” command-line tool to render it. You can make managing your plain-text files easier, too, with the details in this blog post!
CanCanCan 3.1.0
Hi all 👋, a new version of CanCanCan is out! Read more
Host a Secure Private Gem Server
Host a Secure Private Gem Server With LDAP Authentication and Authorization
TrianglePattern Gem
I made a Gem to generate colorfull triangle patterns. You can use the resulting SVGs as background image for your Project. Read more
How we migrated from Timecop to built-in Rails 5.2 helpers
If you use Timecop to freeze time in your Ruby on Rails application you may not need it anymore. There have been handy helper methods since version 5.2.
Ruby's Bitwise Toolbox: Operators, Applications and Magic Tricks
How often do you think about the bits – the ones and zeroes – that make up your app’s data? If you’re doing web development in Ruby there’s rarely any need to. But what if you want to interact with the operating system or a piece of hardware? What if you’d like to understand network protocols or databases? In that case, a solid understanding of bitwise operators is foundational. In this article José M. Gilgado will introduce you to bitwise operations in Ruby, give practical examples of how they can be useful, and finish big with with some fun math tricks.
tablesmith 0.5.0 released
Yet another console table tool, focused on minimal config. Read more