Log message #4046435

# At Username Text
# Jun 29th 2017, 19:58 gutts ]
# Jun 29th 2017, 19:58 gutts '_required' => 'This field is required'
# Jun 29th 2017, 19:58 gutts (int) 1 => [
# Jun 29th 2017, 19:58 gutts '[errors]' => [
# Jun 29th 2017, 19:58 urowe This is what I'm doing: $fb->request('POST', "/?id=" . urlencode('URL') . "andscrape=true");
# Jun 29th 2017, 19:58 urowe Hi everyone, have you guys worked with open graph? I need to update content from a link facebook already crawled
# Jun 29th 2017, 18:06 sitedyno oh i see, if the field is not present it's rule isn't applied nvm
# Jun 29th 2017, 18:01 sitedyno hello o/, are application rules applied to associations on save?
# Jun 29th 2017, 17:34 jarard you and me both ;0)
# Jun 29th 2017, 17:25 spencdev Nevermind, i'm an idiot.
# Jun 29th 2017, 17:24 jarard spencdev - you'r more likely to get a response if you gist your code
# Jun 29th 2017, 17:20 slackebot \DateTime('+30 days'),]) ->andWhere(['balloon_eoc >' => new \DateTime()]) ->orWhere(['insurance_exp <' => new \DateTime('+30 days'),]) ->andWhere(['insurance_exp >' = new \DateTime()]) ```
# Jun 29th 2017, 17:20 spencdev I'm struggling with what I believe to be a fairly easy sql statement, but it doesn't seem like it wants to work this way... What I want: `Assets WHERE (((balloon_eoc :c0 AND balloon_eoc > :c1)) OR (insurance_exp < :c2 AND insurance_exp > :c3)` What i'm getting `Assets WHERE (((balloon_eoc < :c0 AND balloon_eoc > :c1) OR insurance_exp < :c2) AND insurance_exp > :c3)` Query: ``` $assets = $assets->find('all') ->where(['balloon_eoc
# Jun 29th 2017, 17:13 jarard ndefined property: Cake\ORM\Query::$id
# Jun 29th 2017, 17:13 jarard then in method debug($property->id);
# Jun 29th 2017, 17:13 jarard in my edit method set the view var with $this->set('property', $this->Properties->find()->where($options));
# Jun 29th 2017, 16:49 NobbyNobbs it's a jquery 'conversion' that 's causing the problem.
# Jun 29th 2017, 16:48 NobbyNobbs nope, disregard this. Works just fine
# Jun 29th 2017, 16:36 NobbyNobbs requestHandler is enabled
# Jun 29th 2017, 16:36 dakota Some people only want to write PHP with no html
# Jun 29th 2017, 16:35 NobbyNobbs Am I doing sth wrong? Tried setting _jsonOptions, but still sends an array (list keys are ids, ergo integers) https://gist.github.com/NobbyNobbs38/de88041865b9a94e590ac1414f0885df
# Jun 29th 2017, 16:29 davinci I can see `charset()` maybe - so you can control it in some other place later...but this one just seems excessive.
# Jun 29th 2017, 16:29 admad vanity
# Jun 29th 2017, 16:28 davinci What's the reason for using `echo $this->Html->docType();` as opposed to just typing it in html
# Jun 29th 2017, 16:01 alysson-azevedo nvm, it seems so
# Jun 29th 2017, 16:00 alysson-azevedo probably not
# Jun 29th 2017, 15:51 spencdev Ah, looks to be `limit => '10,2'`
# Jun 29th 2017, 15:50 spencdev With migrations, how do you make Decimals like `decimal(10,2)`
# Jun 29th 2017, 15:48 daveozoalor Whoever recommended Cake's ORM to me, I appreciate. Its amazing.
# Jun 29th 2017, 15:48 daveozoalor That's true.
# Jun 29th 2017, 15:37 neon1024 I found building a framework very enlightening, lots of challenges to overcome
# Jun 29th 2017, 15:31 daveozoalor @neon1024 yes, learning a lot at every step.
# Jun 29th 2017, 15:27 hmic the CLI will though
# Jun 29th 2017, 15:27 neon1024 Did you learn any interesting lessons from building it @daveozoalor ?
# Jun 29th 2017, 15:27 hmic bake will not work for you easily as its quite tightly coupled to the framework
# Jun 29th 2017, 15:27 daveozoalor @neon1024 its 100% exploratory. And I'm largely done. I just need to bake.
# Jun 29th 2017, 15:26 hmic i already told you what you need to do. it's really just that!
# Jun 29th 2017, 15:26 hmic of course its weird ;]
# Jun 29th 2017, 15:26 daveozoalor @hmic pls link me to where I can read this up
# Jun 29th 2017, 15:26 cleptric Yeah, but that’s not ideal
# Jun 29th 2017, 15:25 hmic cleptric: it can still be used in a non-cakephp app, if you require cakephp