Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #12847 from jipe/master

Fixed typo in migrations guide [ci skip]
  • Loading branch information...
commit 4f08693a602a80b880179a4361d57cae82503611 2 parents db56c0f + f387aa1
@fxn fxn authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  guides/source/migrations.md
View
2  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.
Please sign in to comment.
Something went wrong with that request. Please try again.