Log message #4019992

# At Username Text
# Apr 25th 2017, 15:14 inoas sadly I don't use reddit. I do think full-fledge frameworks give you a false sense of security unless they make it very hard to work with them :P
# Apr 25th 2017, 15:14 inoas sad,,
# Apr 25th 2017, 15:13 dereuromark hehe
# Apr 25th 2017, 15:12 inoas I mean in the worst hellhole of spaghetti-code it can't take you days to add a link
# Apr 25th 2017, 15:12 inoas haha that guy is FOS :E
# Apr 25th 2017, 15:12 inoas "One of my early tasks was to … add a link to something on some page. It took me few days to add this stupid link. Why?"
# Apr 25th 2017, 15:12 inoas dereuromak
# Apr 25th 2017, 15:00 julez thank you
# Apr 25th 2017, 15:00 julez ahh, got it
# Apr 25th 2017, 14:58 julez erm. but the Plugin is called Matriculations?!
# Apr 25th 2017, 14:58 dereuromark nothing else
# Apr 25th 2017, 14:58 dereuromark the 2nd is the namespace kind of - and that would be PluginName.Model
# Apr 25th 2017, 14:57 dereuromark thats wrong
# Apr 25th 2017, 14:57 julez App::uses('MatriculationAppModel', 'Matriculations.MatriculationAppModel');
# Apr 25th 2017, 14:57 julez i did
# Apr 25th 2017, 14:57 dereuromark you always need to include it - it is the same as in 3.x with use statements
# Apr 25th 2017, 14:57 dereuromark doesnt matter
# Apr 25th 2017, 14:57 julez 'MatriculationAppModel' resides in the exact same folder
# Apr 25th 2017, 14:57 dereuromark are you missing the App::uses() statement for it?
# Apr 25th 2017, 14:57 julez but it's not found: Fatal error: Class 'MatriculationAppModel' not found in ***/app/Plugin/Matriculations/Model/Matriculation.php on line 6
# Apr 25th 2017, 14:56 julez I have a Model in a Plugin called Matriculation which extends MatriculationAppModel
# Apr 25th 2017, 14:55 julez hello
# Apr 25th 2017, 14:46 dereuromark I bet people can still buy his book - but the message of "dont use a framework" is very dangerous!
# Apr 25th 2017, 14:45 dereuromark This guy seems to want to make a quick bug telling people that frameworks like Cake are a false sense of security/simplicity. I think he is dead wrong :slightly_smiling_face: https://www.reddit.com/r/PHP/comments/67go6s/a_false_sense_of_simplicity/ Upvote if you agree with my comment :slightly_smiling_face:
# Apr 25th 2017, 14:07 birdy247 ah I got it
# Apr 25th 2017, 14:04 birdy247 I am wondering how I can use formatResults on a query
# Apr 25th 2017, 14:03 birdy247 I am using crud for the first time
# Apr 25th 2017, 14:01 kaliel hey everyone, is that possible to loadModel in a Task ?
# Apr 25th 2017, 13:55 dereuromark Did anyone have an issue with importing exported JSON date back into the DB and datetime? "Invalid datetime format: 1292 Incorrect datetime value: '2017-04-05T17:18:00+00:00' for column 'created' at row 1"
# Apr 25th 2017, 09:24 hagen00 thanks for the help!
# Apr 25th 2017, 09:24 hagen00 echo $this->Form->radio( 'profile_category_questions._ids', $all_questions_list, ['default' => 14] );
# Apr 25th 2017, 09:24 hagen00 so this works
# Apr 25th 2017, 09:24 hagen00 ok, sorry @dereuromark it's literally the word "default", like you said. i misread
# Apr 25th 2017, 09:21 hagen00 yes, ok. will check
# Apr 25th 2017, 09:21 dereuromark why should this have to be repeated per type?
# Apr 25th 2017, 09:20 dereuromark well, it is a generic cake basic, any field not just radios work the way I described above.
# Apr 25th 2017, 09:20 hagen00 so maybe that should e updated...
# Apr 25th 2017, 09:20 hagen00 don't say anything about setting a value to checked for radio
# Apr 25th 2017, 09:20 hagen00 but, just a final word on this. the docs here: https://book.cakephp.org/3.0/en/views/helpers/form.html#creating-radio-buttons
# Apr 25th 2017, 09:20 neon1024 Morning everyone
# Apr 25th 2017, 09:19 hagen00 will fiddle. not your problem to solve!