My Recent Pastes (218 and counting)

Pastes by lifo (218 and counting)

Pages:

Below are the 8 most recent pasties by lifo.

May 17, 2007
11:24AM EDT
by lifo

lifo:~/Rails/sti/vendor/rails pratik$ svn diff
Index: activerecord/lib/active_record/validations.rb
===================================================================
--- activerecord/lib/active_record/validations.rb       (revision 6748)
+++ activerecord/lib/active_record/validations.rb       (working copy)

May 17, 2007
10:44AM EDT
by lifo

## parent.rb 
class Parent < AR:Base
end

module MyValidations

May 11, 2007
12:03PM EDT
by lifo

require 'active_record'

class Notice < ActiveRecord::Base
end

May 10, 2007
8:09AM EDT
by lifo

Pratik Naik
12:58 ok good
12:58 now
12:58 http://subscene.com/clerks/subtitles-1663.aspx
12:58 download the english subtitles

May 03, 2007
10:13AM EDT
by lifo

module Hello
  def self.hey
    puts "hello"
  end
end

May 01, 2007
6:19AM EDT
by lifo

require 'net/imap'

while true
  imap = Net::IMAP.new('mail.something.com')
  imap.authenticate('LOGIN','hello@something.com', 'whatever')

April 20, 2007
12:11PM EDT
by lifo

Client.rb has an attributre called event_type - which can be "foo" or "bar".

has_many :events, :class => FooEvents
has_many :events, :class => BarEvents

April 17, 2007
10:18AM EDT
by lifo

Organization:
has_many :teams

Team:
belongs_to :organization

Previous page