My Recent Pastes (34 and counting)

Pastes by robotpoke (34 and counting)

Pages:

Below are the 4 most recent pasties by robotpoke.

August 08, 2007
5:24PM EDT
by robotpoke

>> c.send("validate_integration_sub_class_creation")
NoMethodError: undefined method `errors' for "Course type 'crap' does not exist":String
        from /opt/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/validations.rb:13:in `initialize'
        from ./script/../config/../config/../app/models/course.rb:28:in `exception'
        from ./script/../config/../config/../app/models/course.rb:28:in `raise'

August 01, 2007
1:39PM EDT
by robotpoke

>> log
=> {1=>"hey"}
>> UserIntegration.find(:all)
=> []
>> UserIntegration.expects(:find).with("1").returns(log)

July 20, 2007
4:04PM EDT
by robotpoke

 61     def comp_helper(column, range)
 62       m = range.match(/(.)[,|..](.))/)
 63       return column[range] if m.nil?
 64       
 65       first = m[1].to_i

March 11, 2007
10:22AM EDT
by robotpoke

class CustFile < ActiveRecord::Base
  belongs_to :customer
  has_attachment :storage => :file_system,
                 :max_size => 100.megabytes

Previous page