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]

Now updated to include subscribe, update and cancel features.

Ruby Basics

Do you know how the private keyword affects a class method? Read about it here:Hiding a Class Method

You can also use private_class_method. …
Good tip. I have updated the article with your suggestion.

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”.

Building a Ruby Gem in 2015

Building and publishing a gem, even a simple one, is a great way to level up your Ruby skills and gain experience with GitHub’s powerful ecosystem of tools. Here’s what I learned.

You have made some good points. But too many suggestions can be overwhelming fo…

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.

Loading older posts