# |
Jun 14th 2018, 14:14 |
neon1024 |
@savant Did you publish your article about Cakefest yet? |
# |
Jun 14th 2018, 14:14 |
jeremyharris |
if anybody has some good mysql grouping experience, I could use some help. I can’t seem to get my tests to pass (and expected results) if I add another aggregate column to my query: https://gist.github.com/jeremyharris/4b48e1257e081f710cffd35a320144eb |
# |
Jun 14th 2018, 14:13 |
itmpls |
don't tell me it's a typo.. |
# |
Jun 14th 2018, 14:12 |
itmpls |
i just pushed these code changes |
# |
Jun 14th 2018, 14:12 |
itmpls |
im pretty sure i wiped the orm cache but i'll try again too |
# |
Jun 14th 2018, 14:11 |
itmpls |
File uploaded https://cakesf.slack.com/files/U9ZTHJF2B/FB7P0767P/screen_shot_2018-06-14_at_10.10.03_am.png / https://slack-files.com/T053DPNCM-FB7P0767P-485c8fd322 |
# |
Jun 14th 2018, 14:09 |
itmpls |
i'll figure it out, sec |
# |
Jun 14th 2018, 14:09 |
itmpls |
yeah lol |
# |
Jun 14th 2018, 14:09 |
savant |
google? |
# |
Jun 14th 2018, 14:09 |
itmpls |
hm |
# |
Jun 14th 2018, 14:09 |
itmpls |
don't see it in desktop or docs or downloads |
# |
Jun 14th 2018, 14:09 |
savant |
or Documents or Downloads folder? |
# |
Jun 14th 2018, 14:08 |
savant |
maybe your desktop |
# |
Jun 14th 2018, 14:08 |
itmpls |
where do screenshots go on mac? ~/Pictures? lol |
# |
Jun 14th 2018, 14:06 |
savant |
can you screenshot the filename |
# |
Jun 14th 2018, 14:05 |
itmpls |
or is that right |
# |
Jun 14th 2018, 14:05 |
itmpls |
is it the s in Stash? |
# |
Jun 14th 2018, 14:05 |
itmpls |
src/Model/Entity/AuditStash.php , namespace App\Model\Entity; use Cake\ORM\Entity; class AuditStash extends Entity |
# |
Jun 14th 2018, 14:05 |
josbeir |
we all learned this the hard way :) |
# |
Jun 14th 2018, 14:05 |
savant |
yeah |
# |
Jun 14th 2018, 14:05 |
itmpls |
ok |
# |
Jun 14th 2018, 14:05 |
josbeir |
its mostly casing idd |
# |
Jun 14th 2018, 14:05 |
savant |
like its not randomly lowercase or something |
# |
Jun 14th 2018, 14:04 |
itmpls |
lemme double check |
# |
Jun 14th 2018, 14:04 |
savant |
@itmpls are you sure the file is named correctly |
# |
Jun 14th 2018, 14:04 |
itmpls |
as the server - 16.04 |
# |
Jun 14th 2018, 14:04 |
itmpls |
locally it's vagrant that's setup to be the same ubuntu 16.04 |
# |
Jun 14th 2018, 14:04 |
josbeir |
server on linux? |
# |
Jun 14th 2018, 14:04 |
josbeir |
using a mac? |
# |
Jun 14th 2018, 14:04 |
josbeir |
case sensitivity ? |
# |
Jun 14th 2018, 14:04 |
itmpls |
code is synced up |
# |
Jun 14th 2018, 14:04 |
itmpls |
can anyone think of a reason why between 1 server and another which have the same cakephp version (3.6) and php7, my src/Model/Entity/AuditStash.php is not "registered" to override the default cake\orm\entity? |
# |
Jun 14th 2018, 14:01 |
savant |
why not just create that one query from scratch? |
# |
Jun 14th 2018, 14:01 |
savant |
not afaik |
# |
Jun 14th 2018, 14:00 |
alexmax |
but for one of them, I need to remove one of the conditions that was on it |
# |
Jun 14th 2018, 14:00 |
alexmax |
I've got a query object that I'm cloning and adding conditions to to run lots of similar queries |
# |
Jun 14th 2018, 14:00 |
alexmax |
There is no way to remove a particular condition from a query object is there? |
# |
Jun 14th 2018, 13:36 |
josbeir |
love ES tho! writing a whole ecommerce platform on it and using ES as its main store instead, its mature enough these days to do such things now |
# |
Jun 14th 2018, 13:35 |
josbeir |
@lorenzomaieru ES is indeed better for such things, just take care of memory management because that can cause a bit of issues |
# |
Jun 14th 2018, 13:25 |
jeremyharris |
I write my own because sometimes I need special formatting, such as formatting dates as the user requests and in their timezone |
# |
Jun 14th 2018, 13:24 |
jeremyharris |
if that’s not something you want to do, there’s always https://github.com/FriendsOfCake/cakephp-csvview |