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.
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]
Loading Additional Ruby Gems in Development
Have you ever found yourself temporarily adding a gem to your project’s Gemfile to leverage it during development? Maybe your project even has gems that some team members find indispensable during development, but mean nothing to others. Luckily, to have your favorite gems available without permanently or temporarily adding them to the project’s Gemfile. Read how.
RuboCop in legacy projects: focus on the present
The second part of a series on introducing RuboCop to legacy codebases. https://medium.com/@scottm/rubocop-in-legacy-projects-part-2-focus-on-the-present-8d3df0626a29 – using tools such as pronto or overcommit to focus on the lines we’re changing.
Ruby(Opal) + Express.js + Socket.io. Real time chat Server implementation
A simple way to harness nodejs http libraries(express.js + socket.io) using Opal and ruby. Metaprogramming FTW https://github.com/sebyx07/opal-express-socketio
New debugging tool: tapping_device
I just created a new debugging tool called tapping_device. It can help you tracking ruby object’s method calls, which is very useful when debugging (especially on Rails apps)! [more inside]
Rails 6.0 new framework defaults: what they do and how to safely uncomment them
This is a walkthrough of the nine default flags in new_framework_defaults_6_0.rb generated by rails app:update. At the end of this article you’ll feel confident in deleting that file and adding load_defaults 6.0 to your application.rb. [more inside]
Modulation 1.0
Modulation, an explicit dependency management tool for Ruby, has just reached version 1.0. Modulation is already used in production, and personally I find it a great help in managing the code bases of my different Ruby projects. [more inside]
'Repost' gem updates for Rails 6
Gem repost implements Redirect using POST method. [more inside]
Fun with each_with_object and other Enumerator adventures
Cool new (but one that always existed) way of utilizing each_with_object—and some funny consequences of this discovery.
How to use GitHub Actions for Continuous Integration (CI) with Rails
GitHub Actions makes it easy to have your code and continuous integration together inside GitHub. Learn How to use GitHub Actions for Continuous Integration with Rails