Log message #4049216

# At Username Text
# Jul 7th 2017, 13:18 eBugg when I use 'conditions' in a find, like 'conditions' => ['Table.id' => $array] is there a way I can keep cakephp from quoting the elements of $array ?
# Jul 7th 2017, 13:18 inoas I am using CakeDC/Enum <3 ;-)
# Jul 7th 2017, 13:18 matija.baskarad okay, yes, users plugin from CakeDC
# Jul 7th 2017, 13:18 inoas /renameto admad admadder
# Jul 7th 2017, 13:18 inoas makes admad a bit madder ;-)
# Jul 7th 2017, 13:18 steinkel users I guess
# Jul 7th 2017, 13:18 inoas matija ... what plugin ? there is no "cakedc"
# Jul 7th 2017, 13:18 dereuromark o_O
# Jul 7th 2017, 13:18 admad I am mad
# Jul 7th 2017, 13:18 matija.baskarad Alrighty then.. :) I am trying to get cakedc running on my cake 3.4 app. So fine so good, but how do I manage permissions for Admin routing?
# Jul 7th 2017, 13:17 inoas I am good with my kid
# Jul 7th 2017, 13:17 dereuromark I am good with Lenovo
# Jul 7th 2017, 13:17 steinkel I'm good with CakeDC :P
# Jul 7th 2017, 13:16 matija.baskarad Hi @ all. Anyone here who's good with CakeDC with Cakephp 3.4?
# Jul 7th 2017, 13:04 megan good suggestion inoas :slightly_smiling_face:
# Jul 7th 2017, 13:01 inoas maybe adding the book, the api and the swag shop to the irc channels title is good?
# Jul 7th 2017, 12:59 junichirojp @megan I see! Thanks reply.
# Jul 7th 2017, 12:57 megan @junichirojp oh ok! - Buying from our swag store is also a way of donating to the project, all profits go directly back to the community http://swag.cakephp.org/
# Jul 7th 2017, 12:54 david_kim anybody who know using mongodb support plugin or any implementation code for cakephp orm?
# Jul 7th 2017, 11:16 jarard01 ahh utf8_encode!
# Jul 7th 2017, 11:14 jarard01 i tried calling json_encode() on the field that has the char but then it is returned as : false
# Jul 7th 2017, 11:11 jarard01 Malformed UTF-8 characters, possibly incorrectly encoded
# Jul 7th 2017, 11:11 jarard01 i use a DataTables plugin and when I get the data that has such chars I get:
# Jul 7th 2017, 11:10 jarard01 well I have some chars in my db such as Garçons
# Jul 7th 2017, 11:09 neon1024 Any character in particular?
# Jul 7th 2017, 11:09 jarard01 anyone epxerienced utf-8 chars in json ?
# Jul 7th 2017, 11:08 neon1024 Found it, thanks :slightly_smiling_face:
# Jul 7th 2017, 11:07 neon1024 In your tools plugin?
# Jul 7th 2017, 11:07 dereuromark the behavior is live afaik
# Jul 7th 2017, 11:06 neon1024 Hey @dereuromark did you ever get any cake 3 code together for this? http://www.dereuromark.de/2012/02/26/bitmasked-using-bitmasks-in-cakephp/
# Jul 7th 2017, 10:10 jarard01 is there another way?
# Jul 7th 2017, 10:07 hmic for 2.x, thats the sad solution...
# Jul 7th 2017, 10:06 neon1024 Then just made `function getMeStuffWithSparkles() { return $this->find('first', $etc); }`
# Jul 7th 2017, 10:05 neon1024 Not sure if it’s the ‘correct’ way to do things, but I hit the same issue you have. So ended up just making `$this->Example->getMeStuffWithSparkles()`
# Jul 7th 2017, 10:04 neon1024 All of it in fact
# Jul 7th 2017, 10:04 jarard01 neon1024, so you move most of the query into the custom finder?
# Jul 7th 2017, 10:03 neon1024 jarard01, In those situations I’ve always ended up just creating a model method which does a whole find and returns the resulting array
# Jul 7th 2017, 10:02 jay Number 1) Upgrade your version.
# Jul 7th 2017, 10:00 jarard01 it looks like the results is a find all
# Jul 7th 2017, 10:00 jarard01 how can i force a custom finder to use first in cake2
# Jul 7th 2017, 09:59 jay Is there an open source for the GH feed for slack? Was gonna add Phinx to it