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.

Try kramdown Online Editor & HTTP JSON API Service - Convert Markdown to HTML & LaTeX

Hello, I’ve put together a simple online editor that lets you try the kramdown library converting markdown to HTML or LaTeX. The online app also includes a HTTP JSON API service (e.g. /markdown) for conversion. All is packed up in the kramdown-service gem for easy (re)use and as an extra bonus includes a binary, that is, kramup, that starts up the online editor and service on your local machine (e.g. use $ kramup). Supported conversion options/modes include: Read more

Refactor away duplication in your RSpec tests using the Parameterized Test Method

What do you do when you need to run the same test multiple times, but with different parameters? If you copy and paste the test, you end up with a hard-to-read test file. You can’t easily tell how the tests differ from one another. Parameterized test method to the rescue!

RubyFlow Turns 8 Years Old

I just noticed that RubyFlow’s first post was 8 years and a few days ago. Thanks for all of your support and (14675!) posts over the years :-)

Congrats Peter! Thanks for fostering such a great community.
Amazing! Love RubyFlow—don’t know what I’d do without it.

Playing With Google Vision API: Ruby Slack Bot Tutorial

Hey folks, I wanted to present a simple bot using Google Vision API in Ruby, created by my colleague Szymon. This tutorial will help you when building apps that require visual content identification. It’s open source, so feel free to use the code, contribute and improve where you find necessary. Your feedback is very welcome! Ruby Slack Bot: Using Google Vision API Tutorial

Background jobs in Ruby

Queue management systems are used to process background jobs, so these jobs don’t interfere with the user experience. There are systems that use a database, and others that use Redis instead. Even Ruby on Rails has standardized it with ActiveJob so the application uses the same syntax for any system.

Loading older posts