Fix code fences

This commit is contained in:
David Eisinger
2025-02-16 15:00:39 -05:00
parent 31087c4349
commit 8e5e3781af
9 changed files with 18 additions and 18 deletions

View File

@@ -14,7 +14,7 @@ in Rails:
=> #<Goal id: 1, description: "Run a mile", created_at: "2008-09-09 19:32:57", updated_at: "2008-09-09 19:32:57">
>> Goal.find(:all, :conditions => ['created_at < ?', Time.now])
=> []
````
```
Huh? Checking the logs, we see that the two commands above correspond to
the following queries:
@@ -22,7 +22,7 @@ the following queries:
```sql
INSERT INTO "goals" ("updated_at", "description", "created_at") VALUES('2008-09-09 19:32:57', 'Run a mile', '2008-09-09 19:32:57')
SELECT * FROM "goals" WHERE created_at < '2008-09-09 15:33:17'
````
```
Rails stores `created_at` relative to [Coordinated Universal
Time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time), while