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.

sport.db League Quick Starter Sample - Mauritius Premier League - Create Your Own

Hello, I’ve put together a new sport.db (football.db) quick starter sample using the Mauritius Premier League to get you started creating your own leagues/cups/etc. from scratch. You can test drive the quick starter sample with a single command e.g. $ sportdb build. To start from scratch follow these six steps: [more inside]

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…

Creating an IRB-based Read-Eval-Print-Loop-console for your project

Recently I added a Read-Eval-Print-Loop-Console (REPL)-console to the aruba-project as playground for our users similar to the one you find in rails. This article first shows you aruba’s console a bit and then describes how you can build your own console in Ruby with some help of IRB.

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/

Loading older posts