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.

Oligarchical Saas with CanCan

What happens when your large, production SaaS application relies on CanCan, but you have a small pool of high value clients who can’t agree on what they want their roles’ abilities? One of my latest posts dives into the real world problem, the code, and offers a solution that won’t leave you pulling your hair out. [more inside]

On Design Patterns

Rubyists have always had a strange relationship with design patterns. They smell a little too much Java, like people in starched shirts and ties writing serious software for humorless people. Yet Ruybyists use and rely on patterns just like all developers. We’ve even been known to have the occasional religious war over them. Lets take a look at design patterns; where they come from and where they’re going. [more inside]

The Rubyist's Guide to Memoization

This article covers one of my favorite techniques for improving performance: memoization. It’s a source of easy little performance wins that eventually add up and only occasionally reduce your application to a heap of smoldering rubble. Only very occasionally. - http://blog.honeybadger.io/rubyist_guide_to_memoization/

Small correction in the article. In the “code above does 3 things”, step 2 shou…

[video] Using and Abusing Ruby for Computer Science Great Good

A live demo talk, where we will playfully take a tiny subset of Ruby and explore how far it can be taken and what can be built by exploiting a single language feature. In the process, we’ll learn about (or revise) some interesting computer science and explore a less common paradigm of programming. [more inside]

Rails: Configuration over Convention

Use the AController class to load an AModel instance, then render it using a_template.html.erb. In this blog post, we throw Rails conventions out the window and learn just how much you can customize the usual model/view/controller interaction through configuration. We’ll expand your understanding of how your app’s components work together.

[Screencast] Drag and Drop with Interact.js

Using Interact.js to create draggable and droppable items in our view, we can use AJAX callbacks on events to interact with our Ruby on Rails application. Also, learn how to use Ruby Assets to manage our Javascript Libraries. https://www.driftingruby.com/episodes/drag-and-drop-with-interact-js

I watched this - fantastic screencast, one of my favorites! Great work Dave! …

pluto.starter - planet quick starter kit - (auto-)build yr own (static) news sites

Hello, I’ve put together pluto.starter - a new quick starter boilerplate / setup / ready-to-fork repo for planet pluto that lets you (auto-) build your own (static) planet news sites from web feeds w/ ruby in minutes. Step 0: Download and Unpack (or Clone). Step 1: Install the Planet Pluto Machinery / Tool. Step 2: Build the Starter Planet. That’s it. Cheers. Happy planet. PS: Why not design your own planet themes? It’s just embedded ruby (ERB) with Rails-style helpers (link_to, stylesheet_link_tag, etc.), see planet.starter.html.erb to get started.

Loading older posts