This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Who's up to a post-railsconfeu08-coolest-quotes-tshirt-site? | |
Rails doesn't scale! (Oscar Wilde) | |
Look at all the things I'm not doing! (DHH) | |
Most people don't need Zulu on your website. (Josh Harvey) | |
That is sooo "Linux"! (Jeremy Kemper) | |
Fork this + add your favorite quotes! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module VersioningMethods | |
def self.included(klass) | |
klass.instance_eval <<-EOF | |
def deleted_list | |
deleted_item_list = [] | |
Version.all.sort_by{ |version| version[:created_at] }.reverse!.each do |version| | |
if version.item_type == "#{klass.name}" && version.event == 'destroy' | |
deleted_item_list << version.reify |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module VersioningMethods | |
def self.included(klass) | |
klass.instance_eval <<-EOF | |
def deleted_list | |
deleted_item_list = [] | |
Version.all.sort_by{ |version| version[:created_at] }.reverse!.each do |version| | |
if version.item_type == "#{klass.name}" && version.event == 'destroy' | |
deleted_item_list << version.reify |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- load.c 2010-10-23 05:36:38.000000000 -0400 | |
+++ patchload.c 2011-06-05 08:58:00.000000000 -0400 | |
@@ -40,14 +40,6 @@ | |
VALUE ary; | |
long i; | |
- for (i = 0; i < RARRAY_LEN(load_path); ++i) { | |
- VALUE str = rb_check_string_type(RARRAY_PTR(load_path)[i]); | |
- if (NIL_P(str) || !rb_is_absolute_path(RSTRING_PTR(str))) | |
- goto relative_path_found; |