Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Force .to_yaml for arguments in the activerecord adapter

  • Loading branch information...
commit 0a6f8b55494037647da717fdc04a556e17b608ba 1 parent 4638210
@jeffkreeftmeijer authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/navvy/job/active_record.rb
View
2  lib/navvy/job/active_record.rb
@@ -22,7 +22,7 @@ def self.enqueue(object, method_name, *args)
create(
:object => object.to_s,
:method_name => method_name.to_s,
- :arguments => args,
+ :arguments => args.to_yaml,
:priority => options[:priority] || 0,
:parent_id => options[:parent_id],
:run_at => options[:run_at] || Time.now,
Please sign in to comment.
Something went wrong with that request. Please try again.