Log message #4105100

# At Username Text
# Dec 20th 2017, 10:21 neon1024 Oh sorry dude, I didn’t try it again yet. Side tracking browsing Imgur ;) Give me a minute and I’ll grab the update and run it again
# Dec 20th 2017, 10:19 dereuromark @neon1024 thx for the help. anything else, or all working fine otherwise?
# Dec 20th 2017, 10:19 hmic nice title
# Dec 20th 2017, 10:19 hmic :D
# Dec 20th 2017, 10:14 braeden Indeed, US would be nice
# Dec 20th 2017, 10:13 neon1024 Perhaps once Captain Catastrophe isn’t in charge
# Dec 20th 2017, 10:12 neon1024 Would be nice to move to the US for a few years
# Dec 20th 2017, 10:12 neon1024 But I only speak bad French and a little Spanish
# Dec 20th 2017, 10:12 neon1024 Probably go look in Amsterdam or Berlin
# Dec 20th 2017, 10:11 neon1024 Well yeah, if I had any balls I’d go find a job abroad.
# Dec 20th 2017, 10:06 hmic too
# Dec 20th 2017, 10:06 hmic Dont get to comfortable...
# Dec 20th 2017, 10:02 neon1024 My friend asked me about changing jobs, but I think my current job is far too cushy
# Dec 20th 2017, 10:01 neon1024 Instead of what?
# Dec 20th 2017, 10:01 birdy247 @neon1024 come and join our sports platform instead :)
# Dec 20th 2017, 09:46 neon1024 Surprising how many of the core team now work for Seatgeek
# Dec 20th 2017, 09:40 neon1024 Morning all
# Dec 20th 2017, 08:30 admad and tell the email class to use TwigView instead of View :slightly_smiling_face:
# Dec 20th 2017, 08:27 birdy247 If you drop this in, presumably all we would do it rename the templates to .twig and then se the correct syntax
# Dec 20th 2017, 08:26 birdy247 loos neat
# Dec 20th 2017, 08:26 birdy247 just had a look
# Dec 20th 2017, 08:24 admad yes bake includes wyriHaximus/twigView but bake is a dev dependency, so if you want to use twig for email templates then you have to include plugin directly in your composer require too
# Dec 20th 2017, 08:22 birdy247 I noticed bake uses it
# Dec 20th 2017, 08:22 birdy247 @admad is this now included with cake?
# Dec 20th 2017, 08:21 admad twig :slightly_smiling_face:
# Dec 20th 2017, 08:21 birdy247 I am trying to think up a user friendly way to solve this
# Dec 20th 2017, 08:20 birdy247 so they contain alot of php tags
# Dec 20th 2017, 08:20 birdy247 We are currently using the cake email templates
# Dec 20th 2017, 08:20 birdy247 I have a client who wants to edit their own emails
# Dec 20th 2017, 08:13 braeden ^__^
# Dec 20th 2017, 08:13 braeden I tried and failed miserably, the lesson is, never try.
# Dec 20th 2017, 08:13 braeden sorry sorry!
# Dec 20th 2017, 08:12 admad that's you the builds association, not through table like you asked :slightly_smiling_face:
# Dec 20th 2017, 08:12 braeden yup
# Dec 20th 2017, 08:12 admad $this->_table->association( 'Builds' )->getForeignKey()
# Dec 20th 2017, 08:11 braeden $this->_table->association( 'builds' )->_foreignKey
# Dec 20th 2017, 08:11 braeden in associations
# Dec 20th 2017, 08:10 braeden hmmm I found a protected variable
# Dec 20th 2017, 08:10 admad the build_id field would be in another table, so there's no way you can get that info from builds table
# Dec 20th 2017, 08:09 braeden Is there any Cake functions that return the foreign key for a particular table? e.g. say I have access to a table called 'Builds' which has a PK 'id', how do I access the 'getForeignKey' function which would return build_id ?
# Dec 20th 2017, 07:23 ksandeep_ https://gist.github.com/anonymous/9737ee41171927bb73d0d0ee9d32fd0d