Permalink
Browse files

Fixed typo in migrations guide

Product model name was pluralized in example in migrations guide.
[ci skip]
  • Loading branch information...
1 parent db56c0f commit f387aa1bdd09866386dcdf829542e27e7c4d626d Jimmy Petersen committed Nov 11, 2013
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 f387aa1

Please sign in to comment.