Archive for February, 2008

It’s 11:00 pm; do you know where your model methods are?

February 23rd, 2008

So the other day I was implementing what I considered a simple Rails association helper to make my life easier:
has_many :unapproved_posts,
         :class_name => “Post”,
         :finder_sql => “SELECT posts.* from posts ” +
                        ”INNER JOIN users ON posts.user_id = users.id ” +
                        ”INNER JOIN groups ON users.group_id = groups.id ” +
                        ’WHERE (groups.id = #{id}) and ‘ +
                        ’(posts.approved is [...]

New Frontiers in Ruby Web Applications

February 6th, 2008

So as somebody who has experienced their share of headaches deploying Rails apps (and ended up learning how to provision a VPS from scratch as a result) I’m interested in the questions Peter Cooper of Ruby Inside asks:

Is there / why isn’t there a version of mod_ruby that doesn’t have the “class sharing” issue? What [...]