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.

HTTP Basic Auth for Clearance

I have released clearance_http_auth to enable simple, instant HTTP Basic Authentication for applications using Clearance to authenticate users. It’s a combination of middleware and a current_user helper method override, and it’s very easy to set up and use.

A tweet drawing a Christmas tree

A Ruby code drawing a Christmas tree in less than 140 characters. Here is the Tweet ! Can you do better?

Well I don’t know about better, but it is shorter: puts ([1..20]+[6]4).map{…
hmm, perhaps if I url-encode the angle brackets: puts ([1..20]+[6]4).map{|i…
A new version is available on github. You can fork it and try to do a shorter/n…
I will recommend my friends to read this.I will bookmark your blog and have my …

Pragmatic Rails: Thoughts on Views, Inheritance, View Inheritance and Rails 3.0.4

Rails 3.0.4 will have view inheritance. This post discusses how this advanced technique can help having cleaner views, how it works in Rails and how to get real object-oriented partials with inheritance and overriding.

“Rails 3.0.4 will have view inheritance.” > Where is the commit in Rails-cor…
“We will do that for you.” ;-)
One other reason regarding reasons the producers of artist Ralph Lauren wholesa…

Ottoman is another Object-Document Mapper for CouchDB

Ottoman is an object-document mapper for CouchDB which is designed to play to the strengths of Couch rather than trying to provide an ActiveRecord-like feel. I wrote this code a couple of years ago and never quite released it, but it’s fairly complete and reasonably documented. If you’re curious, check it out.

Loading older posts