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.

  Today

Colt Gem Released

Colt is a micro gem used to subscribe to a given plan using the Stripe API. The plans must already exist in your account. The current version can check Stripe credentials and Stripe API version. [more inside]

Allowing similar searches in Postgres

Taking advantage of Postgres can make a huge difference in your Rails app. Here is an article I wrote about allowing for similar searches in Postgres, using the trigram extension. Think of Google when it says “Showing results for computer” when you searched “cmputer”.

DeepDup Gem Released

I was not able to find a plain Ruby some_deeply_nested_object.deep_dup library so I created one. GitHub link to the gem: deep_dup.

How is this better than Marshal.load(Marshal.dump(foo))?

LinkHum: humane link urlifier

LinkHum is humane, correct and customizable URL auto-linker in user-entered text. Just call LinkHum.urlify(any_text_with_urls) and there will be correct <a> tags. It tries hard to do the most reasonable thing even in complex cases.

Taskmanaging Your App, Part 1: Using Rake

Rake tasks: we all use them. But how exactly do they work? Where should you write them, and how do your tasks get interpreted? Here’s a blog post that dives down the rabbit hole of rake tasks, and how you can use them to task manage your applications!

Loading older posts