# |
Dec 19th 2017, 15:00 |
aro |
as i just said, theres nothing to read |
# |
Dec 19th 2017, 15:00 |
hmic |
go read! |
# |
Dec 19th 2017, 15:00 |
hmic |
i told you |
# |
Dec 19th 2017, 15:00 |
aro |
and theres *nothing* in the book or docs about it |
# |
Dec 19th 2017, 14:59 |
aro |
i want to connect to the db using certs |
# |
Dec 19th 2017, 14:59 |
hmic |
not a hacky tunnel solution |
# |
Dec 19th 2017, 14:59 |
aro |
i dont want to use ssh tunnel |
# |
Dec 19th 2017, 14:59 |
hmic |
i answered on how it actually works |
# |
Dec 19th 2017, 14:59 |
hmic |
no i did not |
# |
Dec 19th 2017, 14:59 |
aro |
i am not doing that |
# |
Dec 19th 2017, 14:59 |
aro |
you mentioned using ssh tunnel |
# |
Dec 19th 2017, 14:58 |
joop |
or you can find in the irc log file,i use a lot to find infos |
# |
Dec 19th 2017, 14:58 |
aro |
it didnt really make sense |
# |
Dec 19th 2017, 14:58 |
aro |
i looked at it |
# |
Dec 19th 2017, 14:58 |
hmic |
aro, i answered in detail before. just scroll up! |
# |
Dec 19th 2017, 14:56 |
aro |
does cake support ssl db connections? |
# |
Dec 19th 2017, 14:55 |
joop |
i write in a pastebin content https://pastebin.com/efihHFRB |
# |
Dec 19th 2017, 14:50 |
joop |
sorry |
# |
Dec 19th 2017, 14:50 |
joop |
mmfbmfb |
# |
Dec 19th 2017, 14:50 |
joop |
okey i got it |
# |
Dec 19th 2017, 14:49 |
slackebot3 |
!ruleone |
# |
Dec 19th 2017, 14:49 |
slackebot3 |
Command sent from Slack by neon1024: |
# |
Dec 19th 2017, 14:49 |
joop |
now i can acces ModelA.field value in the clusre |
# |
Dec 19th 2017, 14:48 |
joop |
if i am in ModelA and i call the closure for ModelA.field how can i pass a ModelB.field(which is associated with ModelA) value |
# |
Dec 19th 2017, 14:47 |
joop |
the closure is written for costum validation rule |
# |
Dec 19th 2017, 14:46 |
joop |
i am still stuck in pit with closure-s |
# |
Dec 19th 2017, 14:42 |
jotpe |
thanks @hmic, but this isn't the problem... o.O |
# |
Dec 19th 2017, 14:37 |
dereuromark |
thx |
# |
Dec 19th 2017, 14:37 |
dereuromark |
I bet it is just a \\ => / issue or mapping of class name to plugin name and back etc |
# |
Dec 19th 2017, 14:35 |
neon1024 |
@dereuromark I’ll take a look at the Muffin/Slug issue now and see if I can get something sorted for a PR :slightly_smiling_face: |
# |
Dec 19th 2017, 14:31 |
hmic |
jotpe: you can set a tracking branch to your local one, maybe thats different |
# |
Dec 19th 2017, 14:27 |
jotpe |
hey. a non cake related question: I have a remote branch develop and a local branch develop. For some reasons the remote branch diverges from the local. But if i do `git pull` or `git fetch --all` and `git reset --hard` the remote changes are not included. Any idea? |
# |
Dec 19th 2017, 14:26 |
helloworld_ |
thanks, paul_83uk. Ill try it out. |
# |
Dec 19th 2017, 14:21 |
hmic |
paul_83uk: maybe. but you probably better pass the value to where you need it in the first place |
# |
Dec 19th 2017, 14:20 |
paul_83uk |
@hmic is it possible to get the value of the other param out of the Query first? one where is a datetime field that I want to remove the other is a string value but I don't know the value so need to get that value to be included in the new query |
# |
Dec 19th 2017, 14:18 |
paul_83uk |
yeah if that's the correct assignment then out of a foreach loop if you need the value you simply call $showrooms['savoirOwned'][29] // this would give you "row6" |
# |
Dec 19th 2017, 14:18 |
hmic |
paul_83uk: no. you need to build up a new query, once it's executed. |
# |
Dec 19th 2017, 14:15 |
helloworld_ |
like an associative array? |
# |
Dec 19th 2017, 14:15 |
helloworld_ |
$showrooms = array( "savoirOwned" => array( 1 => "row1", 3 => "row2", 4 => "row3", 24 => "row4", 27 => "row5", 29 => "row6", 34 => "row7", 36 => "row8", 37 => "row9" ) ); |
# |
Dec 19th 2017, 14:14 |
helloworld_ |
would i be able to |
# |
Dec 19th 2017, 14:14 |
helloworld_ |
so paul_83uk, |