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 2017/18 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 2017-18 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.

Tips to improve speed of your test suite

At Appaloosa, most of our tests are written with Rspec, but we still have a certain amount of legacy Test Unit tests. Our Rspec and Test-Unit suites take up to 10 minutes each, so a full test suite runs in around 20 minutes. That’s a lot. We recently decided to invest time on improving our tests to gain time when developing.

The link is dead. The correct one: https://medium.com/appaloosa-store-engineeri…
Thanks. I’ve updated the link

A gem for serializing HAL

Are you thinking about creating a new hypermedia API? If so, I just created a new gem called hal_decorator that turns your model instances into serialized json according to the HAL specification. That is, with properties, links and embedded resources.

Loading older posts