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.
Stealth 1.1 Chatbot Framework Released
With new features like reply variants, your chatbot can utilize a single codebase but still be deployed to multiple messaging platforms. The release also includes many other great features to make building chatbots a lot of fun.
A Weird and Wonderful Trip through Ruby’s Standard Library
I spent some time looking through Ruby’s standard library documentation, keeping my eyes peeled for things I didn’t recognize. I found some pretty weird and wonderful things, and I wanted to share some of my favourites:
How business transactions help decouple Rails controllers
Ruby on Rails enables us to develop features fast and focus on what matters the most. However, if we don’t pay enough attention to the structure of the code we may end up with a well-known problem: fat controllers. This blog post explains how to achieve a more decoupled codebase through a series of refactorings, resulting in code that is easier to maintain and reason about:
Ruby Conferences 'n' Camps Around the World in 2019 @ Planet Ruby Calendar
Ruby Conferences ‘n’ Camps Around the World in 2019 @ Planet Ruby Calendar. What’s Upcoming in 2019? Anything missing? Updates welcome.. Cheers. Prost.
How to Use State Machines in Ruby
What is a state machine? How do you build one in Ruby? Find out in this NEW article!
Build Instagram by Ruby on Rails (Part 1)
I’ll guide you step by step learning Ruby on Rails through building the Instagram application.
[Screencast] Creating a Simple Slack Bot
Slack is a great application to keep in contact with friends, coworkers and a community. With bots, its capabilities are endless. In this episode, learn how to create a Slack Bot to interact with. https://www.driftingruby.com/episodes/creating-a-simple-slack-bot
HTTPX 0.3.0: HTTP/2, DNS-over-HTTPS, Alt-Svc support, and a cheatsheet!
httpx is an HTTP client library designed for simplicity, efficiency and compatibility. It’s inspired by cURL, http.rb and python requests, and aims at being ruby’s de facto HTTP library. [more inside]
One Year CryptoKitties! Copycats Unchained Command Line Tool (& Core Library) Updated
To celebrate One Year CryptoKitties! I’ve updated the copycats command line tool (and core library) - CryptoKitties collectibles unchained - with the latest traits / cattributes and more. Free and open source (and all in ruby). Happy bits & bytes collecting w/ ruby.
[Talk] RubyConf - Reducing Enumerable
Video for the talk is live:
Using the Serverless framework with Ruby on Lambda
The new AWS Lambda support for Ruby is simply awesome. Check out my quick example of running Ruby code on Lambda via the Serverless framework, complete with info on how to get gems with compiled extensions to work.
Enhance your "belongs_to" to be two times faster
database_validations gem introduces a new db_belongs_to helper. It ensures consistency and provides better performance. Check out this article to get more details.
Ruby Quiz - Challenge #7 - Type Inference - Convert Strings to Number, Not a Number
Ruby Quiz - Challenge #7 - Type Inference - Convert Strings to Null, Number, Not a Number (NaN), Date & More. Happy data wrangling and type inferencing with Ruby.
Using Scenic and SQL views to aggregate data (Ruby on Rails)
Using Scenic and SQL views to aggregate data (Ruby on Rails) [more inside]
Passenger 6 supports every and all languages
Tell your friends in the Go, Rust, Swift, Java, Elixir, … < insert language > communities! They can use Passenger (Enterprise and open source) since today! Happy holidays:
Modules in Ruby
In this article we’re going to explore the following topics:
SOLID Rails: A Phantom Pain
The article aims to analyze why don’t Rails developers always follow object-oriented design principles.
Scaling Sidekiq in Production
In this post, I talk about how to optimally scale Sidekiq to process jobs on millions of records in a memory constrained environment like Heroku. https://medium.com/@rajagopals/scaling-sidekiq-in-production-ca4d3d0002db
Ruby Support for AWS Lambda
AWS announced support for Ruby on AWS Lambda. [more inside]
Mastering data structures in Ruby — Graphs.
On this post I’ll show you how to implement graphs from scratch Ruby. Check it out I hope you find it useful!
Ruby Quiz - Challenge #6 - Build the Table of Contents (ToC) for Documents
Ruby Quiz - Challenge #6 - Build the Table of Contents (ToC) for Documents in Markdown. Happy data wrangling and text processing with ruby.
Using IMGIX to Personalize Knolled Images
Even here at Custom Ink, we use knolling to showcase our products. But how could we personalize knolled images to help our customers visualize their creations? We often use IMGIX to help us process & optimize catalog images and decided to give its blending capabilities a try out. Let’s jump right in and explore how.
Deploying a Rails 5.2 PostgreSQL app on AWS Elastic Beanstalk
After using Heroku for years, I wanted to give AWS Elastic Beanstalk a try. My experience during deployment was less-than-stellar, so I wrote a tutorial on deploying a Rails 5.2 / PostgreSQL app on AWS Elastic Beanstalk to help others who might be in the same situation I was.
Finding Ruby Performance Hotspots via Allocation Stats
I wrote up a walk-through of how I discovered and fixed some performance issues in the RubyParser gem by investigating object allocations.
Sandboxed Rake Tasks for Your Rails app!
Write sandboxed Rake tasks that rolls back any changes you made in the database! [more inside]