RubyFlow The Ruby and Rails community linklog

×

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

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

Working with UUID in Ruby on Rails 6 with PostgreSQL

UUID is an alternative primary key type for SQL databases. It offers some non-obvious advantages compared to standard integer-based keys. Rails 6 release fresh out of beta introduces a new feature in ActiveRecord that makes working with UUID primary keys more straightforward. In this tutorial, we will dive deep into UUIDs with all their cons and pros. [more inside]

sportdb v2.0 - tool for reading datasets (leagues, clubs, matches, ...) into SQL DB

Hello, I’ve updated the sportdb command line tool / library that lets you read in (parse) datasets (e.g. leagues, clubs, match schedules, etc.) in plain text into your SQL database of choice (e.g. SQLite, PostgreSQL, etc.). For example, to build yourself a copy for the English Premier League 2019/20 season type: $ sportdb new eng2019-20. That’s all. This will read in the match schedule and much more from the /england dataset. Happy data and text wrangling with ruby. Enjoy the beautiful game. PS: See the football.db League Quick Starter Sample - Mauritius Premier League if you want to start from scratch (zero) with your very own league.

Loading older posts