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.json - New 2016/17 Season - Free open public domain football data in JSON

Hello, I’ve updated the /football.json repo / service that offers (auto-)generated match schedules (fixtures and results) and club listings for the major football leagues e.g. English Premier League, Deutsche Bundesliga, Primera División, Italian Seria A, etc. See the 2016-17 season folder for (static) JSON examples. No API key required ;-) All data public domain. Enjoy the beautiful game. Cheers. PS: Ruby works great for generating JSON; see the json.rb script for the code.

From monolithics to microservices.

This is not another post about application architectures but a software design instead. I bet you are a bit lost with the heading, keep reading, I will take you there. Read more

Ruby Podcast Episode 12

Learn about lambda calculus, advanced sql in rails, mutation testing, new rails 5 framework defaults and more in the Ruby Plus podcast episode 12

active_record_doctor 1.2.0 released

active_record_doctor helps you to identify database issues before they hit production. Version 1.2.0 can index foreign keys lacking an index and detect extraneous indexes (e.g. ones that can be replaced by a multi-column index) and take unique constraints into account.

How to use protected_attributes in Rails 5

Did you know that the only thing stopping you from using protected_attributes in Rails 5 is the gem dependencies and a small patch to ActiveRecord::Core. The rails repo of protected_attributes is not longer supported and issues and PR’s are denied. I have created the continuation of that gem protected_attributes_continued which supports Rails 5!

Why would you want to do that?

What kind of tests should I write for my project?

Should I test my project? Should I write dozens of tests for each feature? What kind of tests should I focus on? Not all projects are created equal - testing is the same. Sometimes you need to test hard, sometimes you don’t. I’m sharing a few observations on testing from my 16 yrs experience as a software developer. Test fundamentalists do not open ;-)

Loading older posts