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.

sudo_attributes: Override ActiveRecord protected attributes with ease

With the recent buzz over Github’s mass-assignment security vulnerability, I thought some people might find my sudo_attributes gem useful. It provides a simple API for overriding protected ActiveRecord attributes while not interfering with existing behavior. It is useful in the parts of your application that are not exposed to mass-assignment from external, unfiltered sources. [more inside]

Ruby on REST 4: Using Representers in Rails

The fourth post in the “Ruby On REST” series explains how the roar-rails gem helps using Roar’s representers in Rails REST services. Following the fruit and bowl example it discusses how to parse and render REST documents in a Rails environment.

Just a comment, would you consider a wider blog layout? The narrow column is a …

generate Rails app from mind map

I just launched GMindApp. It allows you to generate workflow web applications from mind map drawn from Freemind. Gmindapp will convert the workflow into Ruby on Rails application which you can customize models, views and controllers as usual. It will generate tables and keep track of workflow, security according to the mind map. [more inside]

TConsole 1.1: Dedicated console for MiniTest suite runs

TConsole 1.1 is out! TConsole is a dedicated environment for running your MiniTest suites, both for Rails test suites and for any other project you’re working on that happens to test with MiniTest. It supports Rails environment preloading if you’re into that kind of thing, and also offers a nice concise syntax for running specific test classes and methods. Check out this quick screencast for a demo, or just check out the project page on GitHub.

Work-Stealing & Recursive Partitioning with Fork/Join

JDK7’s Fork/Join combines a double ended queue (deque) and a recursive job partitioning step to minimize synchronization - a great design pattern to keep in mind for single host and distributed cases! A look under the hood of the Fork/Join framework, and a few JRuby examples which will light up all of your available cores.

Loading older posts