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.

football-to-psql - load / read football.txt match datafiles into postgreSQL database

Hello, I have put together the football-to-psql tool that lets you load / read football.txt match datafiles (e.g. English Premier League, German Bundesliga, Spanish La Liga 2020/21, etc.) into a postgreSQL database. Example: football-to-psql england.db 2020-21\1-premierleague.txt Enjoy the beautiful game with ruby. Cheers. Prost. PS: Not a friend of PostgreSQL? Try the little brother / sister serverless SQLite variant, see football-to-sqlite.

Squash N+1 queries early with n_plus_one_control test matchers for Ruby and Rails

Discover the test-oriented alternative to detecting the N+1 query problem in your Rails and pure Ruby applications even before the redundant database calls manifest in your development. The n_plus_one_control gem works differently from well-known tools such as Bullet and makes sure that extra SQL queries never go unnoticed, independent of your ORM tool of choice.

Shortest Ruby Syntax Highlighting Implementation with Glimmer

Glimmer DSL for SWT 4.17.4.0 ships with a number of changes, such as the new code_text syntax highlighting custom widget, the Glimmer Meta-Sample (The Sample of Samples), and the Hello, Sash Form! Sample. One noteworthy thing to mention about implementing code_text is that with Glimmer Ruby syntax, it was the shortest Syntax Highlighting implementation of SWT StyledText I have ever seen compared to various resources online. https://andymaleh.blogspot.com/2020/10/glimmer-syntax-highlighting-text-widget.html

Loading older posts