My Recent Pastes (9 and counting)

Pastes by antares_ (9 and counting)

Below are the 9 most recent pasties by antares_.

May 17, 2008
2:41PM EDT
by antares_

antares|opensource/merb-core)> irb                                                                                                                                                                  21:32
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'merb-core'
=> true

March 28, 2008
7:58PM EDT
by antares_

person = Person.find_by_name('uncle bob')
person.changed?       # => false

person.name = 'Bob'
person.changed?       # => true

March 28, 2008
7:57PM EDT
by antares_

person = Person.find_by_name('uncle bob')
person.changed?       # => false

person.name = 'Bob'
person.changed?       # => true

March 28, 2008
6:12PM EDT
by antares_

~/dev/opensource/rbx doc$ cat try_static_scope.rb
class StaticScope
  def to_s
    puts "parent: #{parent}"
  end

March 28, 2008
6:07PM EDT
by antares_

~/dev/opensource/rbx doc$ ./shotgun/rubinius try_static_scope.rb 
parent: , module: Object
Attempted to access field of non-reference.
An exception has occurred:
    Attempted to access field of non-reference (null pointer) (ArgumentError)

March 28, 2008
6:07PM EDT
by antares_

class StaticScope
  def to_s
    puts "parent: #{@parent}, module: #{@module}"
  end
end

March 28, 2008
5:01PM EDT
by antares_

~/dev/opensource/rbx doc$ ./shotgun/rubinius /opt/local/bin/gem install rails
Updating metadata for 12 gems from http://gems.rubyforge.org
............
complete
Successfully installed activesupport-2.0.2

March 28, 2008
7:33AM EDT
by antares_

From 6af7ff8542489d2136509a7f4640c327f7040c51 Mon Sep 17 00:00:00 2001
From: Stuart Halloway <stu@thinkrelevance.com>
Date: Fri, 28 Mar 2008 06:09:34 -0400
Subject: [PATCH] Fixes for Range#step.

March 27, 2008
4:50PM EDT
by antares_

require 'rexml/document'
require 'rexml/formatters/transitive'
require File.dirname(__FILE__) + '/../../../spec_helper'

# Maybe this can be cleaned