collectiveidea/delayed_job — Issue #350: Delayed job 3.0.1 breaks to_yaml again
Author: coneybeare
Created: 2012-02-04 22:51:29+00:00
State: open

Backtrace

>> user.to_yaml
NoMethodError: undefined method `tag=' for #
from /Users/[REDACTED]/.rvm/gems/ruby-1.9.3-p0@[REDACTED]/gems/delayed_job-3.0.1/lib/delayed/psych_ext.rb:6:in `encode_with'
from /Users/[REDACTED]/.rvm/gems/ruby-1.9.3-p0@[REDACTED]/gems/activerecord-3.2.0/lib/active_record/base.rb:646:in `to_yaml'
from (irb):2
from /Users/[REDACTED]/.rvm/gems/ruby-1.9.3-p0@[REDACTED]/gems/railties-3.2.0/lib/rails/commands/console.rb:47:in `start'
from /Users/[REDACTED]/.rvm/gems/ruby-1.9.3-p0@[REDACTED]/gems/railties-3.2.0/lib/rails/commands/console.rb:8:in `start'
from /Users/[REDACTED]/.rvm/gems/ruby-1.9.3-p0@[REDACTED]/gems/railties-3.2.0/lib/rails/commands.rb:41:in `'
from script/rails:6:in `require'
from script/rails:6:in `

'

````
$ rails -v
Rails 3.2.0
$ ruby -v
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.3.0]
````