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.
sport.db Tools & Scripts Guide / Getting Started Booklet
Hello, the sport.db command line tools and scripts now have a little getting started booklet / website. The content so far includes: [more inside]
Spread Sheet Basic Operations with Google API and Ruby
So now you know how to achieve authorization for using several Google APIs. Today we will see how to use Google Drive API for basic operations on Google spreadsheet. [more inside]
Game of Life in one Ruby statement... inspired by APL
Conway’s game of life implemented in one Ruby statement, using Enumerable-alike methods and idioms for working with mathematical arrays.
Never query the same thing more than once
Hint: you probably are, like I was. https://johnnunemaker.com/never-query-the-same-thing-more-than-once/
Announcing Rubidium - Reusable Ruby on Rails Application Templates
Starting in Ruby on Rails 5.0, we got the app:template feature. Rubidium is an online service which allows you to search, consume, clone, share and reuse Ruby on Rails application templates to add functionality to your existing projects. https://www.rubidium.io/
Introducing RailsBytes - Shareable Rails app templates
Rails app templates have been around for a long time, but they haven’t been well organized and easily shareable. We’ve put together a site to create, fork, and organize Rails app templates at RailsBytes.com
sportdb-importers Gem v1.0 - sport.db (incl. football) csv match datset readers
Hello, I’ve put together the sportdb-importers gem / library v1.0 that lets you read in (import) match datafiles in comma-separated values (csv) format into any SQL database (using the sport.db schema / tables) using SportDb.read_csv. Try it with the English Premier League e.g. (2019-20/eng.1.csv) or the Deutsche Bundesliga e.g. (2019-20/de.1.csv), for example. Enjoy the beautiful game with ruby. Cheers. Prost.
Why Fullstaq Ruby?
Fullstaq Ruby is a Ruby distribution that’s optimized for server use cases: 50% less memory, faster, easier to install and security-patch because of RPM and DEB packages. [more inside]
The Ruby Blend: The State of the Rails Community with Julian Rubisch
Welcome to The Ruby Blend! Today, we have special guest, Julian Rubisch, a Freelance Ruby Developer form Vienna, Austria. He’s also an electrical composer of music. Julian tells us about his background and what he does. He also talks about the relationship between music and programming. Some other topics the guys talk about are Ruby on Rails, Jumpstart Pro, changing things in the Rails community to make it more approachable to newcomers, Julian’s website he created called Better StimulusJS, and Znibbl.es. Download this episode now to find out more!!!
Avoid coupling between Bounded Contexts using Weak Schema
See how to avoid accidental coupling on many levels while developing modular monolith application using event driven approach. [more inside]
Compare Text Differences Between Two Contents (%) Using Ruby on Rails
Compare two contents (HTML, JavaScript code or any other text) and find text difference in percentage(%) between them. [more inside]
Churn vs. Complexity vs. Code Coverage
This article explains how you can calculate Churn vs. Complexity in your legacy Ruby project and how Code Coverage metrics can guide your technical debt’s collection efforts. https://www.fastruby.io/blog/code-quality/churn-vs-complexity-vs-coverage.html
Google API Authorization with Ruby using long lasting Refresh Token
Authorization is the most important thing when it comes to API integration. There are multiple ways for authorization. Here we use Ruby for Refresh Token for Authorization. [more inside]
Chaskiq 0.2.0 released 🔥 with VideoCall support 📹
Hey! Chaskiq - The open source platform for support & marketing - has released a big update. [more inside]
This is how I write a gemspec
A little line by line guide on writing a tidy gemspec for your gems. It’s the first article I’ve published so… I guess I’ll get better with time. I’d love to hear any comments. https://dev.to/vaporyhumo/how-i-write-a-gemspec-p42
Why does Rails 6 include both Webpacker and Sprockets?
A new Rails 6 application will install both Webpacker and Sprockets by default. Don’t they solve the same problem? This article dives into why Sprockets lives on even though webpack has surpassed most of its features and why you might want to choose one over the other. https://rossta.net/blog/why-does-rails-install-both-webpacker-and-sprockets.html
Neural Networks in Ruby: A Not-So-Scary Introduction
Building a neural network isn’t exactly like building a human brain, but it’s the closest any of us are going to get. In this article Julie Kent introduces us to neural nets as a concept and shows us how to implement a simple one in Ruby. https://www.honeybadger.io/blog/ruby-neural-networks/
Build A SaaS App in Rails 6 Book is Content Complete
Chapters 1 through 14 (AKA all of them) are all written and content complete. Both general grammatical editing and technical editing have been done thoroughly through the first 10 chapters! The pre-sale bundles have been updated with the latest content of the book. 🙌 [more inside]
render_async 2.1.6 released
The new version with bug fixes is out! Check it out here https://pragmaticpineapple.com/render-async-2-1-6-released/
sportdb-readers Gem v1.0 - sport.db Readers for Leagues, Clubs, Matches, Etc.
Hello, I’ve put together the sportdb-readers gem / library v1.0 that
lets you read in (import) datafiles in (structured) text 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) or the World Cup 2018 e.g. (2018--russia/cup.txt), or start your very own league, see the league quick starter guide, for example. Enjoy the beautiful game with ruby. Cheers. Prost.
Setup Action Mailbox with Postfix
Having trouble to setup action mailbox with postfix? Read these articles to know how you can in detail. This is a two-series tutorial to setup action mailbox with postfix. Part 1 - https://thedevpost.com/blog/setup-action-mailbox-with-postfix-part-1/ Part 2 - https://thedevpost.com/blog/setup-action-mailbox-with-postfix-part-2/
Getting started with a legacy Rails application
There’s a good chance that your next Rails job will involve working with an existing application. Here’s how I’ve recently gone about learning several new-to-me codebases.