Permalink
Browse files

Merge pull request #12847 from jipe/master

Fixed typo in migrations guide [ci skip]
  • Loading branch information...
fxn committed Nov 11, 2013
2 parents db56c0f + f387aa1 commit 4f08693a602a80b880179a4361d57cae82503611
Showing with 1 addition and 1 deletion.
  1. +1 −1 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.

0 comments on commit 4f08693

Please sign in to comment.