Log message #3880903

# At Username Text
# May 26th 2016, 15:20 Neon1024x So a typo in your query, usually in a contain() for me
# May 26th 2016, 15:19 Neon1024x gigikent, If you're in cake 3 it's Attacks not Attack
# May 26th 2016, 15:19 Neon1024x In 3.x all the options have been removed in favour of string templates
# May 26th 2016, 15:19 gigikent I have 3 tables, attacks(id), sniffers(id), events(id, attack_id, sniffer_id) What would be the correct association in EventsTable? I have $this->belongsTo(['Sniffers', 'Attacks']) but this throws this error: Events is not associated with Attack
# May 26th 2016, 15:19 VzlaCaker =(
# May 26th 2016, 15:19 nemmons doesn't look like it, not without editing the template
# May 26th 2016, 15:19 Neon1024x Edit the template :p
# May 26th 2016, 15:19 VzlaCaker Is there a way then, to add a class to that div so that I can manipulate it through CSS?
# May 26th 2016, 15:19 Neon1024x VzlaCaker, Yep :s
# May 26th 2016, 15:17 nemmons Yeah 3.x is so much better than 2.x in so many ways but every once in a while as i'm upgrading my app i find something that makes me miss 2.x a little bit
# May 26th 2016, 15:17 nemmons VzlaCaker as a far as i can tell after a brief read through the code http://api.cakephp.org/3.2/source-class-Cake.View.Helper.FormHelper.html there's no way to stop the FormHelper from displaying a div. like Neon1024x says you might be able to define a custom template string and pass it in but i'm not sure even that would work
# May 26th 2016, 15:16 VzlaCaker Sometimes I miss cake 2
# May 26th 2016, 15:15 VzlaCaker Wow, that seems a lot of work for a simple task :(
# May 26th 2016, 15:15 Neon1024x VzlaCaker, You might even be able to pass the template into the helper options, would be worth looking at the book to check
# May 26th 2016, 15:15 Neon1024x VzlaCaker, You'd have to update the form templates, which you can do before you call the form helper
# May 26th 2016, 15:15 gigikent I have 3 tables, attacks(id), sniffers(id), events(id, attack_id, sniffer_id) What would be the correct association in EventsTable? I have $this->belongsTo(['Sniffers', 'Attacks']) but this throws this error: Events is not associated with Attack
# May 26th 2016, 15:13 dakota Whoâ??s not at cakefest?
# May 26th 2016, 15:08 VzlaCaker Select element
# May 26th 2016, 15:07 nemmons VzlaCaker what form element
# May 26th 2016, 15:06 VzlaCaker Hello. I am trying to disable or turn off a specific div tag, inside a form element. In the past I use 'div' = > false, but it doesnt work for cakephp 3.2.8. I only want to disable it for one input element. If is not possible now, is there a way to add a class to it?
# May 26th 2016, 15:04 nemmons oh. well, yeah, that would do it. usually easier to access files that exist =P
# May 26th 2016, 15:02 alanderouen Ok, i found out why if didn't work. The test.PHP file sas missing from m'y webroot
# May 26th 2016, 14:52 dereuromark @admad: i think it should work out of the box for most users, so best to probably remove them then, and let people add those manually
# May 26th 2016, 14:52 alanderouen Let's try annoter irc client :)
# May 26th 2016, 14:44 darensipes in cake 3.x does anyone know how to select from a subquery? I am using mysql, so raw sql would be like `SELECT id FROM (SELECT * FROM sometable)`
# May 26th 2016, 14:43 admad i have no interest in adding more details to docs :P
# May 26th 2016, 14:43 admad can just remove indexes and be done with
# May 26th 2016, 14:42 dereuromark manally copy and remove indexes worked
# May 26th 2016, 14:42 dereuromark Thought you knew it was still about HybridAuth, and that the Migrations migrate failed
# May 26th 2016, 14:41 admad @dereuromark: What are you talking about? :slightly_smiling_face:
# May 26th 2016, 14:39 dereuromark other than that I am now using it just fine so far
# May 26th 2016, 14:39 dereuromark @admad: Would be worth noting the migration issues with mysql, and that one would better copy and paste the file then to app namespace
# May 26th 2016, 14:37 alanderouen_ oops.. Sorry <nemmons> :)
# May 26th 2016, 14:36 nemmons I'm sorry, i had never looked at testing in 2.x. I didn't realize they just exposed a test.php page. I agree with you that what you're trying to do should work, assuming you followed all the other steps here
# May 26th 2016, 14:36 nemmons fyi my username is nemmons. Slackebot is a bot that passes messages between the IRC channel you're in and the Slack channel i'm in
# May 26th 2016, 14:34 alanderouen_ slackebot: obviously, i'm doint something wrong. Yet i confirm i'm doing what's recommended in the book : http://book.cakephp.org/2.0/en/development/testing.html#checking-the-test-setup
# May 26th 2016, 14:30 bravo-kernel :thumbsup:
# May 26th 2016, 14:29 admad doc updates are always welcome
# May 26th 2016, 14:29 admad surely not
# May 26th 2016, 14:27 bravo-kernel Would you mind a small addition to the readme clarifying that ?
# May 26th 2016, 14:26 admad @bravo-kernel: that's even better :slightly_smiling_face: