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.

Use any C library from Ruby via Fiddle – the Ruby standard library’s best kept secret

Fiddle is a little-known module that was added to Ruby’s standard library in 1.9.x. It allow you to interact directly with C libraries from Ruby. In this post we’ll start with some simple examples and finish by using termios to talk to an arduino over a serial port. - http://blog.honeybadger.io/use-any-c-library-from-ruby-via-fiddle-the-ruby-standard-librarys-best-kept-secret/

Three Options for Top-Down Rails Testing

A lot of Rails developers have a hard time explaining the differences between various types of tests that exercise the application’s upper tiers - not just newbies, but even experienced programmers. With the changes coming to the framework, it’s time you knew controller tests from an integration test from an acceptance test.

Youtube filter for html-pipeline

Need to convert youtube url into a video iframe? I just create a gem called html-pipeline-youtube for adding youtube filter to html-pipeline. I think this might be what you need!

https://github.com/discourse/onebox AND https://github.com/naveed-ahmad/auto_h…
Onebox does do better in url transformation, and I did not know it before, than…

How to add useful context data to exceptions in Ruby

Sometimes the standard backtrace / error message combo isn’t enough. Sometimes you need extra data to locate the cause of an error. In this post we’ll discuss three easy ways to add more context to your exceptions. http://blog.honeybadger.io/how-to-add-context-data-to-exceptions-in-ruby/

Loading older posts