Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

January 16 2012

06:10

January 11 2012

01:23

November 26 2011

10:03

March 01 2011

22:19

February 09 2011

01:53
01:36
01:31
01:30
01:26
01:18

April 18 2010

03:28

April 13 2010

09:43

April 08 2010

17:19

April 07 2010

18:15

March 28 2010

03:06
03:03

March 26 2010

16:29

the { buckblogs :here }: Helping ActiveRecord finders help you

class Thing < ActiveRecord::Base def self.find(*args) if args.first.to_s == "random" ids = connection.select_all("SELECT id FROM things") super(ids[rand(ids.length)]["id"].to_i) else super end end end

March 24 2010

01:05

February 21 2010

03:01

February 18 2010

00:10
Older posts are this way If this message doesn't go away, click anywhere on the page to continue loading posts.
Could not load more posts
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...
Just a second, loading more posts...
You've reached the end.