aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/active_record_querying.md
diff options
context:
space:
mode:
authormogetutu <imogetutu@gmail.com>2013-09-12 12:50:11 +0300
committermogetutu <imogetutu@gmail.com>2013-09-12 12:50:11 +0300
commitfebe40a15979e38fe67a423d6352f832b9253776 (patch)
tree7a58a7e133a5391bf56fad43316a207ac2687e36 /guides/source/active_record_querying.md
parent8a681d8ae0897062a65a3d50e8a6a6483a43c3c3 (diff)
downloadrails-febe40a15979e38fe67a423d6352f832b9253776.tar.gz
rails-febe40a15979e38fe67a423d6352f832b9253776.tar.bz2
rails-febe40a15979e38fe67a423d6352f832b9253776.zip
Added quotes when defining the precision for the `decimal` fields
before: ```bash $ rails generate migration AddDetailsToProducts price:decimal{5,2} supplier:references{polymorphic} ``` after: ```bash $ rails generate migration AddDetailsToProducts 'price:decimal{5,2}' supplier:references{polymorphic} ```
Diffstat (limited to 'guides/source/active_record_querying.md')
0 files changed, 0 insertions, 0 deletions