diff options
author | Douwe Maan <douwe@selenight.nl> | 2014-05-19 13:23:35 +0200 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2014-05-19 13:23:35 +0200 |
commit | edc892680162ff6d41ba80c553c8f25539722912 (patch) | |
tree | 8e854c1bf2bf2ae28a726d40446a71fd500700be /README.md | |
parent | 430228ea56341d8bb0bb9e4503fffea66c1b8251 (diff) | |
download | rails-edc892680162ff6d41ba80c553c8f25539722912.tar.gz rails-edc892680162ff6d41ba80c553c8f25539722912.tar.bz2 rails-edc892680162ff6d41ba80c553c8f25539722912.zip |
Fix typos in readme.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -47,7 +47,7 @@ you then have to manually deserialize. Before, jobs would look like this: ```ruby class TrashableCleanupJob - def perfom(trashable_class, trashable_id, depth) + def perform(trashable_class, trashable_id, depth) trashable = trashable_class.constantize.find(trashable_id) trashable.cleanup(depth) end @@ -58,7 +58,7 @@ Now you can simply do: ```ruby class TrashableCleanupJob - def perfom(trashable, depth) + def perform(trashable, depth) trashable.cleanup(depth) end end |