aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2013-11-11 04:51:28 -0800
committerXavier Noria <fxn@hashref.com>2013-11-11 04:51:28 -0800
commit4f08693a602a80b880179a4361d57cae82503611 (patch)
treedcd9f02b397a9c02987941b888cc1fb1e743a51a
parentdb56c0fcf5c94fd746a41e2ae278b0bdb6fb1d9d (diff)
parentf387aa1bdd09866386dcdf829542e27e7c4d626d (diff)
downloadrails-4f08693a602a80b880179a4361d57cae82503611.tar.gz
rails-4f08693a602a80b880179a4361d57cae82503611.tar.bz2
rails-4f08693a602a80b880179a4361d57cae82503611.zip
Merge pull request #12847 from jipe/master
Fixed typo in migrations guide [ci skip]
-rw-r--r--guides/source/migrations.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/migrations.md b/guides/source/migrations.md
index b7283d16cc..71a177bca7 100644
--- a/guides/source/migrations.md
+++ b/guides/source/migrations.md
@@ -420,7 +420,7 @@ If the helpers provided by Active Record aren't enough you can use the `execute`
method to execute arbitrary SQL:
```ruby
-Products.connection.execute('UPDATE `products` SET `price`=`free` WHERE 1')
+Product.connection.execute('UPDATE `products` SET `price`=`free` WHERE 1')
```
For more details and examples of individual methods, check the API documentation.