# |
Jul 25th 2017, 15:07 |
ra7bi |
i'v three tables users snippets users_snippets now i want to create another table for likes (snippets which liked by user ) what should i call the table ? i've tried users_snippets_likes - user_id -snippet_id |
# |
Jul 25th 2017, 15:06 |
ra7bi |
hey |
# |
Jul 25th 2017, 14:20 |
neon1024 |
It almost got me learning NodeJS too, so I could contribute |
# |
Jul 25th 2017, 14:18 |
neon1024 |
It’s how I know to check my screen wash in the car today :) |
# |
Jul 25th 2017, 14:16 |
joris_ |
Looks cool, but for me hard to keep it up to date |
# |
Jul 25th 2017, 14:16 |
jeremyharris |
that’s very cool. I had a similar idea a while ago, cool to see someone make it happen :slightly_smiling_face: |
# |
Jul 25th 2017, 14:15 |
neon1024 |
I find it helpful :slightly_smiling_face: |
# |
Jul 25th 2017, 14:15 |
cleptric |
Uhh, that looks cool |
# |
Jul 25th 2017, 14:14 |
neon1024 |
This feels like an appropriate time to plug https://habitica.com |
# |
Jul 25th 2017, 14:14 |
lorenzo |
Long meeting days |
# |
Jul 25th 2017, 14:14 |
jeremyharris |
:) |
# |
Jul 25th 2017, 14:13 |
neon1024 |
It’s super effective! |
# |
Jul 25th 2017, 14:13 |
slackebot1 |
Action: neon1024 casts refactor |
# |
Jul 25th 2017, 14:13 |
neon1024 |
Heh :) |
# |
Jul 25th 2017, 14:13 |
slackebot1 |
Action: jeremyharris heals your code for 50 hp aka coverage |
# |
Jul 25th 2017, 14:13 |
jeremyharris |
I’m like that guy in the background that just heals |
# |
Jul 25th 2017, 14:12 |
neon1024 |
#3 Signs you’ve been playing too much Total War: Warhammer |
# |
Jul 25th 2017, 14:12 |
neon1024 |
At least the artillery unit has arrived with @jeremyharris at the helm |
# |
Jul 25th 2017, 14:12 |
neon1024 |
I tried to introduce a hero unit the battlefield in the form of @lorenzo but he’s taking a long time to cast his spells! |
# |
Jul 25th 2017, 14:11 |
neon1024 |
It’s attritional stuff! |
# |
Jul 25th 2017, 14:11 |
neon1024 |
This is day 3 |
# |
Jul 25th 2017, 14:11 |
neon1024 |
It’s a long drawn out battle |
# |
Jul 25th 2017, 14:11 |
neon1024 |
Just this test class between me and victory at the moment |
# |
Jul 25th 2017, 14:10 |
joris_ |
ha ok, was just curious :P |
# |
Jul 25th 2017, 14:10 |
neon1024 |
But if you ever need to manage and track affiliate links from your website, I could help |
# |
Jul 25th 2017, 14:09 |
neon1024 |
I could ask them, but I doubt it would be of any use to anyone, being that it’s tightly coupled to some of our internal systems |
# |
Jul 25th 2017, 14:09 |
joris_ |
That's what i meant :P |
# |
Jul 25th 2017, 14:09 |
neon1024 |
It will not be open sourced, as it belongs to my work |
# |
Jul 25th 2017, 14:08 |
neon1024 |
It already is a Cake plugin |
# |
Jul 25th 2017, 14:08 |
joris_ |
@neon1024 Gonna launch ExitLinks as a Cake plugin ? :P |
# |
Jul 25th 2017, 14:07 |
jeremyharris |
fwiw I’m working on a plugin that’ll lazy load your fixtures so you can add them all to every test and not worry about them all loading for each test case |
# |
Jul 25th 2017, 14:05 |
neon1024 |
Ah yes, I can’t as I don’t need the fixtures in all the tests |
# |
Jul 25th 2017, 14:04 |
neon1024 |
Hm, I might refactor the fixturizing into setUp |
# |
Jul 25th 2017, 14:03 |
neon1024 |
Perhaps my test class is wrong? https://pastebin.com/aH4EG4Ne |
# |
Jul 25th 2017, 14:02 |
neon1024 |
Well any test, as long as I run them in isolation |
# |
Jul 25th 2017, 14:02 |
jeremyharris |
looks a tad incomplete, so I’m spitballing here |
# |
Jul 25th 2017, 14:02 |
jeremyharris |
that doesn’t explain why the first test passes though |
# |
Jul 25th 2017, 14:01 |
jeremyharris |
maybe you need to provide a primary key? `'_constraints' => ['primary' => ['type' => 'primary', 'columns' => ['id']]],` |
# |
Jul 25th 2017, 14:00 |
neon1024 |
It’s like it drops the table, but then doesn’t re-insert the fixtures aftwards |
# |
Jul 25th 2017, 13:59 |
neon1024 |
If I run the whole class of tests, I get failures |
# |
Jul 25th 2017, 13:59 |
neon1024 |
What’s more, if I run this test by itsself it passes |