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.

Decorators in Ruby

Ruby’s low-overhead metaprogramming facilities make it easy to create elegant APIs with minimal effort. As a testament to its power, I can say with a high degree of confidence that all of your favorite Ruby libraries leverage metaprogramming in one way or another. [more inside]

Render Markdown views with Redcarpet and Pygment in Rails

This Lugo Labs Tutor tutorial shows a way how to create a Rails renderer for Markdown so we can use it in views as we do when we write HTML. The view will need to support all Markdown syntax and Pygments, to prettify any code we have in the view. The code should be wrapped within a tag decorated with a class specifying the language in which the code is written, following standard Markdown syntax.

Why Pygments if you have better syntax colouring support in pure Ruby with Roug…

Ruby Productivity Scripts

As developers, we are so busy that we don’t have time to think about the amount of repetitive tasks we do on a daily basis. So, why not automate repetitive tasks and learn Ruby at the same time? Read the first article in this series: Clone a Git Project

JS Live: It's RubyFlow, but for JavaScript

If you dig JavaScript, Angular, React, Ember, Node, and all the rest, check out JavaScript Live - it’s a slightly jazzed up version of the RubyFlow software (backports will come in due course) for JavaScript developers :-)

Awesome! Found a nice utility to cleanup unused CSS.

Finnaly figured out how to run single example easily with Guard Minitest/Spec

EDIT Looks like minitest-focus is the way to go here. Can’t believe that I haven’t heard of this until now! [more inside]

I had not had focus pointed out to me until today. But isn’t the syntax f…
I’m sorry, I was confusing MiniTest with RSpec (which supports the focus it "wo…
I am glad you pointed it out because it lead me to the gem minitest-focus which…
There is also minitest-line, for running a test nearest to the given line (it a…

Crows, microlibrary for authorization in Ruby classes

I’ve written a micro library for authorization in Ruby classes, Crows provide you with a few helpers to check if current_user can make operations into some records. This gives you the freedom to build your own plain Ruby classes to make authorization works easily, without the painful of bigs DSLs. Hope you enjoy it!

Loading older posts