diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2014-05-19 12:46:27 +0200 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2014-05-19 12:46:27 +0200 |
commit | afb3d4f9e5820cb8f5cd4502e1d0525044ac6ef2 (patch) | |
tree | 11acb4b4c1094c0dfb24f84da8cb68e10e3f9d8b /test/jobs/gid_job.rb | |
parent | f3a9ad70570d52fa01d847d86f34ec2119d4631b (diff) | |
download | rails-afb3d4f9e5820cb8f5cd4502e1d0525044ac6ef2.tar.gz rails-afb3d4f9e5820cb8f5cd4502e1d0525044ac6ef2.tar.bz2 rails-afb3d4f9e5820cb8f5cd4502e1d0525044ac6ef2.zip |
Move to instance method and document usage
Diffstat (limited to 'test/jobs/gid_job.rb')
-rw-r--r-- | test/jobs/gid_job.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/jobs/gid_job.rb b/test/jobs/gid_job.rb index c1bfbb2655..c69e38d3cc 100644 --- a/test/jobs/gid_job.rb +++ b/test/jobs/gid_job.rb @@ -1,5 +1,5 @@ class GidJob < ActiveJob::Base - def self.perform(person) + def perform(person) $BUFFER << "Person with ID: #{person.id}" end end |