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:
parent
b757de114c
commit
762d1ee0b9
1 changed files with 1 additions and 1 deletions
|
@ -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]]
|
||||
|
|
Loading…
Reference in a new issue