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.
sportdb-readers Gem - sport.db Readers for Leagues, Seasons, Clubs, Matches, Etc.
Hello, I’ve put together the sportdb-reader gem / library that
lets you read in (import) text datafiles into any SQL database (using the sport.db schema / tables) using SportDb.read. Try it with the English Premier League e.g. (2019-20/1-premierleague.txt) or the Deutsche Bundesliga e.g. (2019-20/1-bundesliga.txt), for example. Cheers. Prost.
RubyCritic now has support for SimpleCov
This is how we helped to implement this feature: https://www.fastruby.io/blog/code-quality/code-coverage/rubycritic-4-2-0-simplecov-support.html
Safely Removing Image Assets from Rails
How to safely remove image assets from a Rails app. If you have a legacy app, your image assets often turn into a bloated junk drawer. Clean them up for faster tests, deployments, and less clutter. Follow this guide to remove Rails image assets with confidence.
End-to-end testing for API only Ruby on Rails apps with Cucumber syntax
My experience with implementing end-to-end testing for API only Rails apps leveraging the gherkin syntax. A real life example of the importance and the benefits of this level of testing. [more inside]
New release of Truemail 🚀 configurable plain Ruby 📨 email validator
Added event logger and json serializer for email validation result. Be sure that email address valid and exists. https://github.com/rubygarage/truemail
Streaming Large ZIP Files in Rails
I recently went down a rabbit hole to describe how I implemented streaming of large ZIP files in Rails I hope you learn a thing or two about Rails APIs and HTTP streaming. Enjoy!
Write atomic SQL statements with `Atomically`
https://github.com/khiav223577/atomically It’s an ActiveRecord extension for writing commonly useful atomic SQL statements to avoid race condition.
Testing Stripe Elements for SCA with Capybara
Stripe has added support for Strong Customer Authentication for payments in the EU. In this post we cover how to fill in Stripe Elements with SCA support using Capybara for Rails system tests.
An all new influxdb-rails 1.0 release
This is the first stable release of the v1.0 branch of influxdb-rails. We have packed for you a lot of awesome features and bug fixes into 1.0 [more inside]
footballdb-leagues Gem - Match the World's Top 100+ Football Leagues & Cups
Hello, I’ve put together the footballdb-leagues gem / library that bundles-up an all-in-one football.db /leagues datafile and lets you match 100+ football league & cup names from around the world “out-of-the-gem / box” with zero-configuration. It’s as easy as require 'footballdb/league'; League.match('ENG PL'). Enjoy the beautiful game. Cheers. Prost. PS: Trivia Quiz: What league will League.match( 'NB I' ) match?
bundle-diff v1.0.0 released
A new bundler plugin for showing diffs of bundled gems against latest versions: https://rubygems.org/gems/bundle-diff
Slack Smart Bot v.1.0.2 first stable version released!
Slack Smart Bot v1.0.2 released!! First stable version including cloud bots and routines. https://github.com/MarioRuiz/slack-smart-bot
Ruby SDK for Hyperledger Aries
Hyperledger Aries provides a cross-blockchain, cross-DLT, shared, reusable, interoperable tool kit designed for initiatives and solutions focused on creating, transmitting and storing verifiable digital credentials. It is infrastructure for blockchain-rooted, peer-to-peer interactions. It includes a shared cryptographic wallet for blockchain clients as well as a communications protocol for allowing off-ledger interaction between those clients. https://github.com/hyperledger/aries-sdk-ruby
Open source powerful Time Tracking App built with Rails
I just released a powerful time tracking application built with NuxtJS and Rails. It’s free and open source. [more inside]