# |
Sep 16th 2019, 15:08 |
ricksaccous |
welp |
# |
Sep 16th 2019, 15:07 |
jotpe |
Chicken or Egg? |
# |
Sep 16th 2019, 15:07 |
jotpe |
I don't have the table class for now. Need to cleanup the db first |
# |
Sep 16th 2019, 15:06 |
ricksaccous |
@jotpe if you want you can import the table class from cake into a migration |
# |
Sep 16th 2019, 15:05 |
jotpe |
or migrations |
# |
Sep 16th 2019, 15:05 |
jotpe |
Is there a way to build a `WHERE 'id' IN (1, 2,3 ...)` query in phinx? |
# |
Sep 16th 2019, 14:35 |
ricksaccous |
I learned something, cool |
# |
Sep 16th 2019, 14:35 |
ricksaccous |
that makes sense actually since it's not keyed like service_modalities.0._ids just service_modalities._ids |
# |
Sep 16th 2019, 14:35 |
ricksaccous |
interesting... |
# |
Sep 16th 2019, 14:35 |
ricksaccous |
rather than addNestedMany |
# |
Sep 16th 2019, 14:35 |
ricksaccous |
if I change it to addNested |
# |
Sep 16th 2019, 14:35 |
ricksaccous |
okay, it seemed to fix itself |
# |
Sep 16th 2019, 14:33 |
ricksaccous |
at this point I don't care about the _nested key, I just want my message returned instead |
# |
Sep 16th 2019, 14:29 |
slackebot |
<ricksaccous> |
# |
Sep 16th 2019, 14:29 |
ricksaccous |
this happens even if i change the rule like so: |
# |
Sep 16th 2019, 14:25 |
ricksaccous |
hmmmm |
# |
Sep 16th 2019, 14:25 |
ricksaccous |
and rather than it showing up on the _ids field in the errors array it shows up in _nested |
# |
Sep 16th 2019, 14:25 |
ricksaccous |
I keep getting the error message "the provided value is invalid" |
# |
Sep 16th 2019, 14:24 |
slackebot |
<ricksaccous> |
# |
Sep 16th 2019, 14:23 |
ricksaccous |
I have an allowEmptyArray on the _ids field in a nestedmany validator |
# |
Sep 16th 2019, 14:23 |
ricksaccous |
to show as required |
# |
Sep 16th 2019, 14:23 |
ricksaccous |
I'm having trouble getting an _ids field |
# |
Sep 16th 2019, 14:08 |
alexdd55976 |
no in combination with yii on a xampp installation |
# |
Sep 16th 2019, 14:02 |
neon1024 |
I’ve found Codeception to be quite helpful |
# |
Sep 16th 2019, 13:54 |
alexdd55976 |
never do anything with codeception.. a PITA |
# |
Sep 16th 2019, 12:28 |
javier.villanueva |
In my app.php I change my defaultLocale to es_ES but this format in validation not change |
# |
Sep 16th 2019, 12:27 |
javier.villanueva |
then... how do I change this "ymd" ? |
# |
Sep 16th 2019, 12:27 |
javier.villanueva |
(it is ok) |
# |
Sep 16th 2019, 12:27 |
javier.villanueva |
If I use another date format in save thorw an error |
# |
Sep 16th 2019, 12:26 |
javier.villanueva |
validator format is ymd by default. |
# |
Sep 16th 2019, 12:25 |
admad |
Validator format is unrelated to db type class formats |
# |
Sep 16th 2019, 12:25 |
javier.villanueva |
only works if I set an specific format in validation :S |
# |
Sep 16th 2019, 12:24 |
javier.villanueva |
@admad I set format in validator because not works instead |
# |
Sep 16th 2019, 12:23 |
javier.villanueva |
my message "the diff cake 3.7.9 works, my 3.8.3 not works" <- is false |
# |
Sep 16th 2019, 12:23 |
admad |
@javier.villanueva don't turn on locale parsing if you are setting formats your self |
# |
Sep 16th 2019, 12:11 |
javier.villanueva |
How do I add a default format different to ymd? |
# |
Sep 16th 2019, 12:10 |
javier.villanueva |
date validator accept a second parameter "formats" |
# |
Sep 16th 2019, 12:05 |
jh |
how do I get the subcollection |
# |
Sep 16th 2019, 12:05 |
jh |
I want to use indexBy/groupBy on a sub collection |
# |
Sep 16th 2019, 12:05 |
jh |
I want to use collection() to work on some json struct |
# |
Sep 16th 2019, 11:54 |
javier.villanueva |
the diff cake 3.7.9 works, my 3.8.3 not works |