Skip to content

Commit

Permalink
b64encode of arguments unnecessarily prints args to stdout. encode64 …
Browse files Browse the repository at this point in the history
…does the same thing without cluttering stdout. http://www.ruby-doc.org/core/classes/Base64.html
  • Loading branch information
jdwyah committed Apr 20, 2009
1 parent cfe83a5 commit a3cf6ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/backgroundrb/bdrb_job_queue.rb
Expand Up @@ -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))
end

def args
Expand Down

0 comments on commit a3cf6ac

Please sign in to comment.