Skip to content
Browse files

b64encode of arguments unnecessarily prints args to stdout. encode64 …

…does the same thing without cluttering stdout.
  • Loading branch information...
1 parent cfe83a5 commit a3cf6ac4767fd162ad0d01359e681b3767e12e51 @jdwyah jdwyah committed Apr 20, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/backgroundrb/bdrb_job_queue.rb
2 lib/backgroundrb/bdrb_job_queue.rb
@@ -25,7 +25,7 @@ def self.find_next(worker_name,worker_key = nil)
#these accessors get around any possible character encoding issues with the database
def args=(args)
- write_attribute(:args, Base64.b64encode(args))
+ write_attribute(:args, Base64.encode64(args))
def args

0 comments on commit a3cf6ac

Please sign in to comment.
Something went wrong with that request. Please try again.