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.

How to Keep Bad Abstractions From Handcuffing Your Code

What happens when you have a bad abstraction? You have to dig out the API reference every time to understand what that method that clearly should have been named leaderboard is actually called. And whenever you touch the code, something breaks, and you blow the rest of your day trying to debug it (because you tweaked position, but didn’t update score at the same time). So how do you build good abstractions, while staying far away from the bad?

Necromancer v0.2.0 released

I’ve released necromancer for the purpose of ruby core types conversion. Hopefully API will convince you of it’s ease of use, flexibility and composability(you can build custom conversions out of simpler ones). Please give it a try and let me know your thoughts.

beerdb RubyGem Update Incl. Quick Starter Datafiles; Zip Downloads n More

I’ve uploaded a new beerdb gem update. What’s news? The beerdb gem that lets you load datasets (e.g. beers, brewpubs, breweries, etc.) in plain text into your SQL database of choice now includes a new build system. Use the new Datafile - a mini language a.k.a. domain-specific language (DSL) that lets you setup your database in minutes. For example, to setup a beer.db for all Austrian beers n breweries use the at.rb quick starter template. Type $ beerdb new at to download the datasets (as zip archives), setup all tables, indexes, etc. and read in all fixtures. Cheers. Prost.

Loading older posts