Skip to content

Instantly share code, notes, and snippets.

@radicaled
Created May 29, 2010 03:35
Show Gist options
  • Save radicaled/418006 to your computer and use it in GitHub Desktop.
Save radicaled/418006 to your computer and use it in GitHub Desktop.
script/console
Loading development environment (Rails 2.3.5)
/usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement
>> 'foo'.delay.inspect
NoMethodError: undefined method `delay' for "foo":String
from (irb):1
>> 'foo'.send_later(:inspect)
=> #<Delayed::Backend::ActiveRecord::Job id: 10, priority: 0, attempts: 0, handler: "--- !ruby/struct:Delayed::PerformableMethod \nobject...", last_error: nil, run_at: "2010-05-29 03:31:04", locked_at: nil, failed_at: nil, locked_by: nil, created_at: "2010-05-29 03:31:04", updated_at: "2010-05-29 03:31:04">
>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment