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 I Learned

thoughtbot created an open source GitHub repo this week called Today I Learned. It’s receiving lots of community submissions for tips in all programming languages, including lots of Ruby.

3 ways to monkey-patch without making a mess

When you first try Ruby, monkey patching is amazing. It makes Ruby a joy to read and write. That is, until you hit weird problems that are impossible to debug. But what’s the alternative? Waiting for blank? to make it into core Ruby before you’re allowed to have nice user input handling? How can you write monkey patches that won’t make you want to fire yourself for incompetence the next time you see them?

Ruby Gem of the Week Series @ Planet Ruby - Week #1 factbook, Week #2 hoe, Week #3 slideshow

Hello, I’ve started a new Ruby Gem of the Week series (w/ web feed) that presents a new Ruby library every week on Thursday on Planet Ruby. So far the gems presented include: Week #3 - slideshow gem - a free web alternative to PowerPoint and Keynote in Ruby; Week #2 - hoe gem - build, package and publish gems with hoe rake tasks; Week #1 - factbook gem - turn the world factbook into open structured data e.g JSON – Happy Planet. Cheers. PS: Have your say! Guest posts more than welcome.

Ruby and self

Ruby newcomers usually are confused about the use of self, whether it’s a completely new concept for them or not. So I wrote this post to show briefly how it works.

Trip: concurrent tracer built on Thread#set_trace_func.

trip is a concurrent tracer for the ruby programming language. It yields control between two threads, most likely the main thread and a thread that trip creates. It is implemented in pure ruby(no C) and with the help of “Thread#set_trace_func”. It can be useful when building developer tools like a debugger or if you want to step through code progmatically at runtime.

Loading older posts