My Recent Pastes (7 and counting)

Pastes by anonuser (7 and counting)

Below are the 7 most recent pasties by anonuser.

June 16, 2008
2:56PM EDT
by anonuser

+void subtend_set_tainted(VALUE val) {
+  CTX;
+  object_set_tainted(ctx->state, HNDL(val));
+}
+

June 07, 2008
10:41PM EDT
by anonuser

diff --git a/rakelib/configure.rake b/rakelib/configure.rake
index db56213..9168e6b 100644
--- a/rakelib/configure.rake
+++ b/rakelib/configure.rake
@@ -279,7 +279,11 @@ def write_rbconfig

June 07, 2008
9:44PM EDT
by anonuser

From a2bd5282063ecd961145948acbaf29b0982058dd Mon Sep 17 00:00:00 2001
From: Sean Bryant <sean@hackinggibsons.com>
Date: Fri, 6 Jun 2008 19:23:07 -0400
Subject: [PATCH] This gets hpricot to compile and install, though currently when it tries to call rb_define_attr it freaks out and segfaults the VM.
 Still trying to work through this mess.

August 23, 2007
7:25PM EDT
by anonuser

###RHTML####
<div id="welcome_photos">
  <% if @home_page_photos.length > 0 %>
  <div id="photo">
    <img src="<%= @home_page_photos.first.public_filename -%>" alt="home page photo" />  

July 27, 2007
7:34PM EDT
by anonuser

Loading development environment in sandbox.
Any modifications you make will be rolled back on exit.
>> item_type = ItemType.create
NoMethodError: undefined method `name' for #<ItemType:0x9ae7370>
        from /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/base.rb:1860:in `method_missing'

July 27, 2007
7:09PM EDT
by anonuser

Loading development environment in sandbox.
Any modifications you make will be rolled back on exit.
>> type = Type.new
=> #<Type:0x9ae7848 @new_record=true, @attributes={"name"=>nil}>
>> type.name = "LOL"

July 27, 2007
6:53PM EDT
by anonuser

require File.dirname(__FILE__) + '/../test_helper'

class TypeTest < Test::Unit::TestCase
  fixtures :types