Add note to readme acout callbacks.

This commit is contained in:
James Harton 2018-04-20 14:52:41 +12:00
parent fb2f241825
commit 9b17abfddd

View file

@ -16,4 +16,6 @@ Let's try manually inserting a row (via `psql faces_dev`):
INSERT INTO "people" ("username", "name", "location", "avatar_url", "inserted_at", "updated_at") VALUES ('pupper', 'pupper', 'the bath', 'https://media.giphy.com/media/3o6Zt9ved5rCuidNlK/giphy.gif', NOW(), NOW());
```
I want to point out that this is a really bad idea, mostly for the same reasons that [Rails ActiveRecord callbacks are a bad idea](http://samuelmullen.com/2013/05/the-problem-with-rails-callbacks/).
Next, move on to `step-7`.