Log message #4183177

# At Username Text
# Apr 15th 2019, 14:36 neon1024 Wouldn’t that depend on your EC2 and S3 instances
# Apr 15th 2019, 14:36 unclezoot there's a problem with wakeing them up i believe, i.e. a cold start takes some time
# Apr 15th 2019, 14:36 unclezoot node specifically
# Apr 15th 2019, 14:35 unclezoot main guy has, he's very keen on them so will using them shortly
# Apr 15th 2019, 14:35 neon1024 Have you tried Lambdas?
# Apr 15th 2019, 14:35 unclezoot yup
# Apr 15th 2019, 14:35 neon1024 Anyone running stuff in AWS?
# Apr 15th 2019, 14:35 unclezoot afternoon, how do you make the session cookie 'secure'? I've tried updating my app.php's 'Session.ini.session.cookie_secure' => true, but doesn't appear to be doing anything on my https site, not sure what else to try?
# Apr 15th 2019, 14:00 jeremyharris so you could do `select (getrank(column1, column2) as rank` when you needed ranking
# Apr 15th 2019, 14:00 jeremyharris yeah sounds like a special method. you may want to use a custom DB function that holds the logic on how you “rank” your results based on what you wrote above
# Apr 15th 2019, 13:58 ricksaccous next relevant would probably be first word matched
# Apr 15th 2019, 13:58 ricksaccous most relevant would be a result like both words together
# Apr 15th 2019, 13:58 ricksaccous i would prob do an or, with likes in them
# Apr 15th 2019, 13:57 ricksaccous basically i want to do a like match on a field but let's say two words are used for the search, i'm thinking i want the most relevant 2 matches
# Apr 15th 2019, 13:57 ricksaccous haha
# Apr 15th 2019, 13:57 ricksaccous ugh
# Apr 15th 2019, 13:57 ricksaccous but on the second query i might still want to order by case :(
# Apr 15th 2019, 13:56 ricksaccous haha yep
# Apr 15th 2019, 13:56 jeremyharris :+1: always more than one way to solve the problem
# Apr 15th 2019, 13:55 ricksaccous so i'll do two queries and conglom the results how i want
# Apr 15th 2019, 13:55 ricksaccous I'm thinking I'll just divide what i'm doing in two queries anyway because I want the first where clause to prioritize the second where clause, but i might not want to do the first where clause anyway depending on information given to me from elsewhere
# Apr 15th 2019, 13:54 jeremyharris @ricksaccous I’ve put a case statement in an order clause once. in the end the code didn’t stick around but I may be able to help
# Apr 15th 2019, 13:52 jeremyharris oh were you using validation rules this whole time? I read it as “rules” as in application rules smh
# Apr 15th 2019, 13:52 jeremyharris that is for validators though
# Apr 15th 2019, 13:52 jeremyharris (I’m seeing it in the code finally)
# Apr 15th 2019, 13:52 birdy247 https://book.cakephp.org/3.0/en/core-libraries/validation.html#conditional-dynamic-error-messages
# Apr 15th 2019, 13:51 jeremyharris is that documented somewhere?
# Apr 15th 2019, 13:51 jeremyharris nice
# Apr 15th 2019, 13:51 birdy247 actually it does work :slightly_smiling_face:
# Apr 15th 2019, 13:50 jeremyharris I thought rule errors were set when you add the error to the rule builder, so they’re on that class not the invokable object
# Apr 15th 2019, 13:49 ricksaccous dang that sucks
# Apr 15th 2019, 13:49 birdy247 doesnt*
# Apr 15th 2019, 13:49 birdy247 Does seem to work with a custom rule
# Apr 15th 2019, 13:46 ricksaccous to make it dynamic
# Apr 15th 2019, 13:46 ricksaccous seems like you just return a string
# Apr 15th 2019, 13:46 birdy247 https://book.cakephp.org/3.0/en/core-libraries/validation.html#conditional-dynamic-error-messages
# Apr 15th 2019, 13:45 birdy247 similar to this
# Apr 15th 2019, 13:45 birdy247 Can i make the "message" dyanmic
# Apr 15th 2019, 13:45 birdy247 I have made a custom reuseable rule
# Apr 15th 2019, 13:42 ricksaccous does anyone have experience using queryBuilder to put cases in order statement?
# Apr 15th 2019, 13:05 J98hasjd Can I disable i18n merges for one specific finder?