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.

Haml and Rails

I’ve updated my guide to Haml and Rails with some helpful suggestions from Brook Riggio’s blog post on Haml by Default in a New Rails 3.2 App. The RailsApps application templates now include a haml-html5 template offering you a choice of Haml or ERB, with options for a CSS front-end framework such as Twitter Bootstrap (Less or Sass), and a default application layout using HTML5 (see the article HTML5 Boilerplate for Rails Developers). It creates a simple starter app using Haml and HTML5.

Global Hack Day #2 is Today! (March 8th)

Mendicant University is now hosting monthly online hackfests open to all programmers. Today (March 8) we’ll be running our second event, from 19:00 - 03:00 UTC. If you have your own project you want to work on, or wouldn’t mind helping others with theirs, please catch up with us in the #mendicant channel on Freenode. For more details, see this announcement and this wiki page.

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. Read more

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 …
Loading older posts