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.
Testing cursor-based pagination with Webmock
A story of discovering API pagination nuances, implementing client for such APIs and testing its interactions: [more inside]
Ruby on Rails View Patterns and Anti-patterns
Rails views are sometimes amazing and fast, and at other times, they can have all sorts of issues. If you want to increase confidence over how you handle your views, then this blog post is for you. [more inside]
Well-behaved Ruby Objects: Equality
A “well-behaved” object in Ruby needs to understand What makes two Ruby objects “equal”? Which version of “equal” (there are several in Ruby)? What makes an object usable as a Hash key? And is that the same thing that makes them Comparable? https://stevenharman.net/well-behaved-ruby-object-equality
Hotwire in Action 🚀
The main goal of this repository is to find a Website that used Hotwire in action, free open source Hotwire apps and learn + start contributing 🚀 [more inside]
3 ways to use Regexp capture groups with back-references
Taking advantage of capture groups to manipulate Strings in Ruby.. SEE MORE
20 Years of Wikipedia! The State-of-Wikipedia & Wikidata in the Ruby Universe?
Hello, let’s celebrate 20 Years of Wikipedia! Happy Birthday! The big question - What’s the State-of-Wikipedia & Wikidata in the Ruby Universe? Looking for Parser, API Clients, Template Functions, Apps, & more. Join the discussion. Any recommendations or tips & tricks more than welcome. Cheers. Prost.
Much Dodge (Ð)? Free (Online) Blockchain Programming Book(lets) with Ruby
Hello, I’ve put together my humble free (online) collection of Blockchain Programming Book(lets) with Ruby on the readme. Get started in crypto. Grow your own money on merkle trees or breed kitties using the sooper-sekretoo mix genes genome science formula and more. Happy (secure) programming with ruby. Cheers. Prost.
Start with StandardError
A short summary of the reasons you should choose StandardError over RuntimeError or Exception when defining a new exception for your app. [more inside]
[Screencast] reCAPTCHA v2
Reduce the number of bots and spam your Ruby on Rails application gets with Google reCAPTCHA v2. https://www.driftingruby.com/episodes/recaptcha-v2
Interact with Mysql Server using mysql2 gem [Part 3] – Prepared Statements
This is the third part of the series where we create a service to interact with MySQL server in rails using mysql2 gem. Link: https://thedevpost.com/blog/mysql2-gem-prepared-statements/
Rails 6.1 adds support for validating numeric values that fall in a range
The numericality validation helper now accepts in: as an option for which the value must be a range. [more inside]
Open Source Ruby and Rails Applications 🔥
I list all awesome Ruby and Rails open source apps, which some of us didn’t know exist. Check this out => https://dev.to/asyraf/open-source-real-world-ruby-and-rails-applications-4jfo
Ractors in Ruby 3
Read about new addition to Ruby https://bishwahang.com/2021/02/05/parallelism-in-ruby-3-0-with-ractors.html
Ruby Is Traveling Just Fine with Glimmer & JRuby
Recently, the author of Traveling Ruby blogged some depressing news about the future of the project, indicating basically that it is going kaput. Little did he know, Ruby is traveling just fine with Glimmer and JRuby, thanks to Glimmer DSL for SWT, which lets you to package your Glimmer desktop apps as native Mac APP/DMG/PKG, Windows EXE/MSI, and Linux shell runners in Ruby gems. [more inside]
Natural20: A DnD role playing game made using ruby
Below is an opensource game/RPG engine made using ruby [more inside]
Truemail 2.3.0 has been released 🚀 configurable plain Ruby 📨 email validator
Added ability to use custom DNS gateway. Be sure that email address valid and exists. https://github.com/truemail-rb/truemail
Kafka for Rubyists Mini Course: Advanced Karafka
This is the fourth and also the last part of the Kafka For Rubyists course, this time covering more advanced aspects of Karafka. [more inside]
New version of DnsMock has been released 🚀
Added RSpec integration out of the box and ability to specify MX record priority. Mimic any DNS records for your test environment and even more: https://github.com/mocktools/ruby-dns-mock
dato.rss - rss search engine clean, simple and fast
Hi I just revamped my latest rails open source project: dato.rss. Take a look! [more inside]