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.

Avoid these traps when nesting Ruby modules

But buried within Ruby’s nesting implementation - and Rails’ autoload system - are a few traps that can cause your code to fail in strange and wonderful ways. In this post, we’ll discuss the origin of these traps and how you can avoid them. http://blog.honeybadger.io/avoid-these-traps-when-nesting-ruby-modules/

The common problem is that people misunderstand expressions like “module ConstA…

Working with Ruby exceptions outside of the rescue block

It’s often useful to be able to get the most recent exception, even if your code doesn’t control the lifecycle of that exception. In this post we explore a few of the ways to do this. http://blog.honeybadger.io/working-with-ruby-exceptions-outside-of-the-rescue-block/

football.db - New 2015/16 Seasons - English Premier League, Bundesliga, etc.

Hello, The plain text football fixtures for leagues, teams, match schedules, stadiums, and more that you can read with the sportdb gem into your SQL database of choice now includes the 2015/16 seasons for the English Premier League, the Deutsche Bundesliga, and more. Any league missing? Add your league. Use Datafiles to build youself a copy e.g. $ sportdb new en2015-16. All data, code and samples public domain. Enjoy the beautiful game. Cheers.

Loading older posts