25 Apr 2024 |
| @primordialqueef:matrix.org joined the room. | 03:40:45 |
| @primordialqueef:matrix.org joined the room. | 03:48:31 |
| @primordialqueef:matrix.org left the room. | 03:48:53 |
29 Apr 2024 |
| vi cal joined the room. | 16:28:00 |
30 Apr 2024 |
| emadshaaban joined the room. | 20:06:45 |
| joeljuca joined the room. | 21:23:50 |
| joeljuca changed their display name from Joel Jucá to joeljuca. | 21:24:20 |
| robbie joined the room. | 22:34:45 |
| robbie joined the room. | 23:28:03 |
| robbie joined the room. | 23:28:21 |
| robbie joined the room. | 23:29:47 |
| robbie joined the room. | 23:30:20 |
| robbie joined the room. | 23:32:23 |
| robbie joined the room. | 23:32:35 |
1 May 2024 |
| ackermann1309 joined the room. | 00:50:19 |
| ackermann1309 left the room. | 11:53:55 |
| robbie left the room. | 14:29:48 |
3 May 2024 |
| Martin joined the room. | 00:06:33 |
Martin | Hi there, I'm new to Elixir/Phoenix. I'm using phoenix to do a controller test that works with an ecto model that has associations (db relationships) with other models. I'm struggling to setup the test data (including the assocs) as well as testing the controller with changes (incl associations).
I was wondering if people knew of any online projects (i.e. source code) out there that could be doing something similar so that I can have a look. And/or online resources trying to do something similar.
| 00:13:12 |
Martin | * Hi there, I'm new to Elixir/Phoenix. I'm using phoenix to do a controller test that works with an ecto model that has associations (db relationships) with other models. I'm struggling to setup the test data (including the assocs) as well as testing the controller with changes (incl associations).
I was wondering if people knew of any online projects (i.e. source code) out there that could be doing something similar so that I can have a look. And/or online resources that could point me in the right direction.
| 00:13:44 |
| Delphine Lasalle joined the room. | 01:28:54 |
| moita joined the room. | 03:22:10 |
joeljuca | Hey Martin,
You might be interested in ExMachina (https://hexdocs.pm/ex_machina). It’s a lib to create dummy data factories — very useful for testing and such. | 03:28:41 |
joeljuca | But you can also just post your questions here, and people can step in and help. | 03:29:29 |
| Ryme joined the room. | 17:08:42 |
6 May 2024 |
| psydroid joined the room. | 19:16:43 |
7 May 2024 |
| airmog joined the room. | 17:46:59 |
9 May 2024 |
| rassilon joined the room. | 18:06:19 |
10 May 2024 |
| Deyvison Ferreira joined the room. | 11:40:18 |
| slashmili joined the room. | 12:46:16 |