Log message #4183772

# At Username Text
# Apr 18th 2019, 09:59 dereuromark protected method with bail early
# Apr 18th 2019, 09:58 dereuromark foreach loop from outside IMO
# Apr 18th 2019, 09:54 birdy247 I thought I could pass an array to isDirty
# Apr 18th 2019, 09:54 birdy247 Is there a consice way to see if one or more of a subset of properties are dirty
# Apr 18th 2019, 09:40 neon1024 https://github.com/cakephp/cakephp/wiki
# Apr 18th 2019, 09:40 challgren Well migration isn’t working so I guess its been decided
# Apr 18th 2019, 09:39 challgren Im wondering if I should stay on 3.8.0 or switch to 4.0.0
# Apr 18th 2019, 09:39 neon1024 So probably still incoming
# Apr 18th 2019, 09:39 challgren Ohh ok!
# Apr 18th 2019, 09:38 neon1024 @challgren https://github.com/cakephp/cakephp/releases/tag/3.8.0-beta1
# Apr 18th 2019, 09:26 challgren Did 3.8.0 beta go out the window?
# Apr 18th 2019, 09:21 neon1024 I’ll open an issue just in case as I’m in the 4.0.0-alpha1
# Apr 18th 2019, 09:13 neon1024 I presume this is because the transliteration has failed
# Apr 18th 2019, 09:12 slackebot <neon1024>
# Apr 18th 2019, 09:12 neon1024 ..and am getting
# Apr 18th 2019, 09:12 neon1024 I’ve used `'Title with accents' => ['Das Pferd fährt nicht', '/question-with-accents-[\d]+/'],`
# Apr 18th 2019, 09:12 neon1024 I’m writing a test case for a simple method which creates a slug
# Apr 18th 2019, 09:10 Letze Sadly, it seems like Slack is much more active than this IRC >_< nooooo.
# Apr 18th 2019, 08:47 lubos aha, OK. thanks both :slightly_smiling_face:
# Apr 18th 2019, 08:46 admad Then entity might not be the right place as the order in which the two properties are set would affect the prefixing
# Apr 18th 2019, 08:45 lubos I just need to prefix `title` when another property is (bool) true
# Apr 18th 2019, 08:45 admad @dereuromark true, though simple string manipulation is fine IMO
# Apr 18th 2019, 08:44 admad @lubos yes
# Apr 18th 2019, 08:42 dereuromark careful, too much logic in entities can become an antipattern.
# Apr 18th 2019, 08:41 lubos is it same as getters? e.g. `_getTitle`
# Apr 18th 2019, 08:41 lubos @admad cant find any doc how to use them? is there any?
# Apr 18th 2019, 08:39 neon1024 Morning all :wave:
# Apr 18th 2019, 07:12 admad @lubos entity setters are probably what you are looking for
# Apr 18th 2019, 07:08 kanryu dereuromark: I want to use zero or more Tables and create a class that does not depend on Controller context in any place other than Model/Table.
# Apr 18th 2019, 07:04 dereuromark kanryu: depends on the context. but usually you can use Forms for modelless.
# Apr 18th 2019, 06:38 lubos no no, i really meant modify the value of the property before save. will do it at table level. thanks
# Apr 18th 2019, 06:37 dereuromark or do u mean virtual getters?
# Apr 18th 2019, 06:37 dereuromark you dont. the table takes care of this usually
# Apr 18th 2019, 06:04 lubos Hi there, how can I set entity property at the entity level... e.g. add prefix before save.
# Apr 18th 2019, 05:53 kanryu Can CakePhp3 define a Model that is not a Table and call it automatically from the Controller?
# Apr 18th 2019, 05:51 kanryu hi,
# Apr 17th 2019, 20:53 rightscoreanalysis the catch works as i need
# Apr 17th 2019, 20:52 rightscoreanalysis @ricksaccous thnaks buildRules and isUnique worked perfectly
# Apr 17th 2019, 20:38 rightscoreanalysis but the issue is the PDO renders an error page
# Apr 17th 2019, 20:38 ricksaccous via buildRules
# Apr 17th 2019, 20:38 ricksaccous avoiding the exception is best imo which you can do