Upgrading ruby from 2.3.5 to 2.6.2 DJ error of yaml_as

182 views
Skip to first unread message

Sumit Goyal

unread,
Apr 7, 2020, 8:18:36 AM4/7/20
to delayed_job
/home/beryl/.rvm/gems/ruby-2.6.2/gems/activerecord-4.2.10/lib/active_record/dynamic_matchers.rb:26:in `method_missing': undefined method `yaml_as' for ActiveRecord::Base:Class (NoMethodError)
Did you mean?  yaml_tag

David Genord II

unread,
Apr 7, 2020, 8:29:06 AM4/7/20
to delay...@googlegroups.com
Try using the newest version of the gem.
David

On Tue, Apr 7, 2020 at 8:18 AM Sumit Goyal <sumit4...@gmail.com> wrote:
/home/beryl/.rvm/gems/ruby-2.6.2/gems/activerecord-4.2.10/lib/active_record/dynamic_matchers.rb:26:in `method_missing': undefined method `yaml_as' for ActiveRecord::Base:Class (NoMethodError)
Did you mean?  yaml_tag

--

---
You received this message because you are subscribed to the Google Groups "delayed_job" group.
To unsubscribe from this group and stop receiving emails from it, send an email to delayed_job...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/delayed_job/1e0f4354-aba7-4cf7-9272-aa89cd511025%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages