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.
Ruby 2.7 pattern matching after 10 months of professional Elixir
I looked at the experimental pattern matching in Ruby 2.7.
[Screencast] Like Relationships and Global ID
In this episode we create a Like/Unlike system where users can like posts and use Global ID to obfuscate IDs. https://www.driftingruby.com/episodes/like-relationships-and-global-id
ActiveRecord Adapter for Amazon Aurora Serverless
Simple ActiveRecord Mysql2 adapter extensions to allow Rails to use AWS Aurora Serverless via the Aws::RDSDataService::Client interface. Perfect if you are using Lamby to deploy your Rails applications to AWS Lambda.
Ruby Conferences & Camps in 2020 - What's Upcoming? Anything Missing? Updates Welcome
Hello, I’ve updated the Ruby Conferences & Camps in 2020 - What’s Upcoming? page. Try the rubyconf command line tool (packaged up in the whatson gem) e.g. [more inside]
Working with Capistrano: Environment Variables and Remote Commands
The Working with Capistrano: Environment Variables and Remote Commands is a second article in the series “Working with Capistrano”. It explores how to write tasks that allow for configuration, define environment variables and execute commands on a remote server. You will learn details behind Capistrano’s design and in the process discover new Ruby tricks. Enjoy!
When dry-struct is good
An article of use cases of dry-struct/dry-schema in my experience: https://railsguides.net/dry-struct-use-cases/
New release Truemail 🚀 configurable framework agnostic plain Ruby 📨 email validator
Implemented internationalized emails (EAI) supporting. Be sure that email address valid and exists. https://github.com/rubygarage/truemail Happy New Year!!!
Ruby 2.7 comprehensive changelog
The Ruby Changes (open, structured, explained and cross-linked changelogs for Ruby) updated to include all Ruby 2.7 changes with all the “why”s, “how”s and links to docs and discussions!
How to execute Arel queries
Plenty of resources explain why using Arel is a good option, but it is hard to find an explicit guide on how to use the queries you can build with Arel. This article is one of them
Ruby 2.7 experimental pattern matching in few examples
I got so excited about today released Ruby 2.7.0 experimental pattern matching feature I wrote article describing it in few examples.
I created the same app with Rails and Javascript
A few days ago, I came into a post on Medium “I created the exact same app in React and Svelte. Here are the differences”, this post talks about side by side code comparison on writing a simple To Do application with both Javascript Framework. [more inside]