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.

Pattern matching [:ok, result]

I use a lot of [:ok, result]-like return values to avoid using exception as flow control. It’s not fun to pattern match on this in Ruby, so I write a small gem that handles that problem gracefully: [more inside]

Wait, where does what?

No matter how much I know there are always bits that slip by. I’ve used Rails for years. Which means I’ve queried models using where for years. Even so, I recently saw someones code and thought, “that can’t work.” I was wrong. [more inside]

Free Light-Weight Open Data Catalog (CKAN Clone) w/ Jekyll Incl. Admin Pages w/ Auth

Hello, Via @statictimes - a static site (Jekyll, Middleman & friends) news channel: Tim Wisniewsk (from Philadelphia) has put together a free open source CKAN clone for light-weight open data catalog sites. Add/edit datasets in the _datasets collection/directory or use the user-friendly (admin) editing pages (requires login e.g. authentication). Cheers. PS: Waldo Jaquith has published a Q&A w/ Tim Wisniewsk on the U.S. Open Data site. ++ What are you using Jekyll for? Let us know.

tty-prompt v0.5.0

Newest tty-prompt adds ability to expand options similar to Git hunks functionality, gather more than one answer with intuitive DSL using collect prompt and makes asking boolean question yes?/no? much more flexible and robust. Finally, you can theme all the prompts!

Sycamore

I’m very happy to share Sycamore, a slightly unusual tree data structure with you. It’s MIT-licensed, has quite good test- and documentation-coverage and even if it’s not for you, it might be worth checking out since it contains an interesting solution to the problem of null-values. [more inside]

Versionaire 1.0.0

This library provides immutable, thread-safe, semantic versioning. It can also convert (cast) primitive objects like String, Array, and Hash into a Version and visa versa. For further details, check out the README. It will soon be used by Milestoner and Gemsmith to make project and gem management much easier. Enjoy!

Slide Show (S9) Presentation Templates Now Jekyll-Compatible (Using Liquid)

Hello, Starting with Slide Show (S9) v3.0 all slide show/presentation templates are now Jekyll-compatible and use Liquid. Why? The idea is that your slide show template pack is “just” a Jekyll site and, thus, you can use your Liquid template skills for creating or changing slide show / presentation templates and if you use GitHub you can use the free built-in GitHub pages service for live previews, testing, and more. For some first example see: S6 Blank templates and the live demodeck.js templates and the live demo. Any favorite slide show/presentation package? Questions? Comments? Welcome. Cheers.

This sounds awesome, will try it out…

Why I left Blogger for Jekyll

Thought I’d share some of the main reasons I left Google Blogger for Jekyll + Github Pages. It’s not entirely Ruby-specific, but I thought other bloggers would find it interesting. Nonetheless, Jekyll is an excellent platform and I’m loving it so far! [more inside]

Loading older posts