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:05

Why Ruby on Rails Migrations Don’t Work – SimonOnSoftware

yup, I'm still a DBA/Database Developer. The structured, valid data is the useful part... the application is disposable.

April 18 2010

03:31

April 07 2010

17:31

April 05 2010

07:03

March 28 2010

06:47
06:45
06:21
03:19
03:17

March 27 2010

07:33
07:11

March 26 2010

18:20
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

February 27 2009

09:38
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.