1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix egregious lack of code formatting there.

This commit is contained in:
Jeremy McAnally 2012-03-12 14:05:12 -04:00
parent b757de114c
commit 762d1ee0b9

View file

@ -83,7 +83,7 @@ The examples above are fairly simple and other libraries match or come close to
#### Inline math operations
Suppose we have a table `products` with prices in different currencies. And we have a table currency_rates, of constantly changing currency rates. In Arel:
Suppose we have a table `products` with prices in different currencies. And we have a table `currency_rates`, of constantly changing currency rates. In Arel:
products = Arel::Table.new(:products)
products.columns # => [products[:id], products[:name], products[:price], products[:currency_id]]