# |
Apr 26th 2017, 10:23 |
Neon1024 |
I should qualify that Vim isn’t crap |
# |
Apr 26th 2017, 10:23 |
Neon1024 |
I shall go contribute to open source |
# |
Apr 26th 2017, 10:23 |
Neon1024 |
I wish I had some work to do |
# |
Apr 26th 2017, 10:23 |
Neon1024 |
Buzz in when you see it |
# |
Apr 26th 2017, 10:23 |
Neon1024 |
Baking in the wrong oven you mean? |
# |
Apr 26th 2017, 10:22 |
birdy247 |
I am not sure if I am barking up the wrong tree |
# |
Apr 26th 2017, 10:22 |
Neon1024 |
Yes, write bad code because you use crap tooling |
# |
Apr 26th 2017, 10:22 |
birdy247 |
but what about the rest of the code |
# |
Apr 26th 2017, 10:22 |
Neon1024 |
Which is utter crap imho |
# |
Apr 26th 2017, 10:22 |
Neon1024 |
The core teams excuse is that it’s easier to see in Vim |
# |
Apr 26th 2017, 10:22 |
birdy247 |
ill do that |
# |
Apr 26th 2017, 10:22 |
birdy247 |
ok |
# |
Apr 26th 2017, 10:22 |
Neon1024 |
I just really think it’s time to let PHP4 go |
# |
Apr 26th 2017, 10:22 |
birdy247 |
lol |
# |
Apr 26th 2017, 10:21 |
Neon1024 |
It’s just an opinion |
# |
Apr 26th 2017, 10:21 |
Neon1024 |
Because of that I can’t invest in your business idea. I’m sorry, I’m out. |
# |
Apr 26th 2017, 10:21 |
birdy247 |
ok, ill fix that |
# |
Apr 26th 2017, 10:21 |
Neon1024 |
#letitgo |
# |
Apr 26th 2017, 10:20 |
Neon1024 |
birdy247, Prefixing private with an underscore is a PHP4 convention. That’s three whole major versions ago #justsayin |
# |
Apr 26th 2017, 10:19 |
steinkel |
deleted_date should be datetime |
# |
Apr 26th 2017, 10:15 |
backstageel |
In CakeDC/Utils plugin for cake2, what should be the data types for deleted and deleted_date for softdelete? |
# |
Apr 26th 2017, 10:13 |
birdy247 |
and I dont know how to then save that |
# |
Apr 26th 2017, 10:13 |
birdy247 |
The problem is it returns a Merge object |
# |
Apr 26th 2017, 10:12 |
birdy247 |
https://gist.github.com/anonymous/9ed65405295527e90ab059572abbf83b |
# |
Apr 26th 2017, 10:06 |
birdy247 |
Neon1024 I feel like I am nearly there |
# |
Apr 26th 2017, 09:45 |
dereuromark |
Is is sth that should be done by the framework - using the schema to detect non objects and transforming them into objects? |
# |
Apr 26th 2017, 09:44 |
dereuromark |
I think the patching is the issue, I would expect it to convert date strings into Time() objects |
# |
Apr 26th 2017, 09:33 |
dereuromark |
that looks like a valid enough datetime string that I would think our ORM/saving should allow this to go through without exceptions |
# |
Apr 26th 2017, 09:33 |
dereuromark |
Guys, is there an easy fix to the MYSQL http://stackoverflow.com/questions/23581687/mysql-error-invalid-datetime-format-1292-incorrect-datetime-value-for-col issue? I get "SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect datetime value: '2017-04-05T17:18:00+00:00' for column 'created' at row 1" exception when importing JSON export from the same table on a different database. |
# |
Apr 26th 2017, 09:29 |
birdy247 |
ill give it a whirl |
# |
Apr 26th 2017, 09:23 |
Neon1024 |
At least, that’s what I’d try ;) |
# |
Apr 26th 2017, 09:23 |
Neon1024 |
So that you can let the framework do the associations for you :) |
# |
Apr 26th 2017, 09:23 |
Neon1024 |
Yes, I just meant that you can do $user->set(‘partipations, $arrayOfRaceEntities); |
# |
Apr 26th 2017, 09:17 |
birdy247 |
and when done, mark user 2 as "merged and removed" |
# |
Apr 26th 2017, 09:16 |
birdy247 |
I gues the simplest way is to update all the associated records of user2, with an id of user_id = 1 |
# |
Apr 26th 2017, 09:16 |
birdy247 |
in participants |
# |
Apr 26th 2017, 09:16 |
birdy247 |
It has lots of other info |
# |
Apr 26th 2017, 09:16 |
birdy247 |
So I cant just add the races to the new user |
# |
Apr 26th 2017, 09:15 |
birdy247 |
Races hasMany Participants |
# |
Apr 26th 2017, 09:15 |
birdy247 |
Neon1024 User hasMany Participants |
# |
Apr 26th 2017, 09:14 |
Neon1024 |
What would I do with a valid login on an ‘archived’ user account? |