aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-05-19 08:27:47 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-05-19 08:27:47 -0300
commit3a932bf03c56eecf15ba89e6b46846b02b34ad47 (patch)
tree8e854c1bf2bf2ae28a726d40446a71fd500700be /README.md
parent430228ea56341d8bb0bb9e4503fffea66c1b8251 (diff)
parentedc892680162ff6d41ba80c553c8f25539722912 (diff)
downloadrails-3a932bf03c56eecf15ba89e6b46846b02b34ad47.tar.gz
rails-3a932bf03c56eecf15ba89e6b46846b02b34ad47.tar.bz2
rails-3a932bf03c56eecf15ba89e6b46846b02b34ad47.zip
Merge pull request #21 from DouweM/patch-1
Fix typos in readme.
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 08e24844fe..ee6a07bf34 100644
--- a/README.md
+++ b/README.md
@@ -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