mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Correct whitespace in README
This commit is contained in:
parent
51d552c2cd
commit
63642a913f
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ users.
|
||||||
When your query is too complex for `Arel`, you can use `Arel::SqlLiteral`:
|
When your query is too complex for `Arel`, you can use `Arel::SqlLiteral`:
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
photo_clicks =Arel::Nodes::SqlLiteral.new(<<-SQL
|
photo_clicks = Arel::Nodes::SqlLiteral.new(<<-SQL
|
||||||
CASE WHEN condition1 THEN calculation1
|
CASE WHEN condition1 THEN calculation1
|
||||||
WHEN condition2 THEN calculation2
|
WHEN condition2 THEN calculation2
|
||||||
WHEN condition3 THEN calculation3
|
WHEN condition3 THEN calculation3
|
||||||
|
|
Loading…
Reference in a new issue