# |
Mar 17th 2009, 09:36 |
alkemann |
that makes sense :) thanks |
# |
Mar 17th 2009, 09:35 |
_nate_ |
change driver to datasource |
# |
Mar 17th 2009, 09:35 |
alkemann |
ah |
# |
Mar 17th 2009, 09:35 |
_nate_ |
yeah |
# |
Mar 17th 2009, 09:35 |
ADmad |
driver is for dbo |
# |
Mar 17th 2009, 09:34 |
ADmad |
in your config array in database.php |
# |
Mar 17th 2009, 09:34 |
ADmad |
alkemann: specify the 'datasource' key |
# |
Mar 17th 2009, 09:33 |
alkemann |
_nate_: trying to make my own datasource (its gonna query a remote web app i have no control over). trying to follow the examples from the bakery, but it seems to think im making a dbo .. http://bin.cakephp.org/view/1393877319 |
# |
Mar 17th 2009, 09:15 |
alkemann |
maybe. or strength. depending |
# |
Mar 17th 2009, 09:15 |
ADmad |
alkemann: hah so its a character flaw |
# |
Mar 17th 2009, 09:14 |
alkemann |
ADmad: i take everything i do seriously |
# |
Mar 17th 2009, 09:14 |
_nate_ |
that is strange |
# |
Mar 17th 2009, 09:14 |
_nate_ |
I don't know |
# |
Mar 17th 2009, 09:14 |
_nate_ |
hmmm |
# |
Mar 17th 2009, 09:13 |
alkemann |
_nate_: with 0 views? |
# |
Mar 17th 2009, 09:13 |
ADmad |
alkemann: you are taking this moderation job too seriously :P good evening |
# |
Mar 17th 2009, 09:13 |
alkemann |
i kinda get pending to mean waiting for a moderator to take alook. atm we have looked at them all and just the sql explain is still waiting for moderation decission |
# |
Mar 17th 2009, 09:13 |
_nate_ |
this appears to have been originally published on the 12th and subsequently edited |
# |
Mar 17th 2009, 09:12 |
_nate_ |
http://bakery.cakephp.org/articles/view/smsfubake-for-cakephp |
# |
Mar 17th 2009, 09:12 |
_nate_ |
well, "pending" means they're waiting to be published, right? |
# |
Mar 17th 2009, 09:11 |
alkemann |
pending status contains too much things.. can we delete it? and is it ok to edit articles and set their status to "draft" when I have posted feedback that i want fixed before publishing? |
# |
Mar 17th 2009, 09:09 |
_nate_ |
I unpublished it |
# |
Mar 17th 2009, 09:09 |
_nate_ |
yes |
# |
Mar 17th 2009, 09:09 |
_nate_ |
appears so |
# |
Mar 17th 2009, 09:08 |
alkemann |
is this article empty ? http://bakery.cakephp.org/articles/view/extending-of-dbosource-and-model-with-sql-generator-function |
# |
Mar 16th 2009, 16:55 |
ADmad |
some people want to :) just had someone ealier in #cakephp who wanted the same.. guess he didnt check the bakery |
# |
Mar 16th 2009, 16:54 |
alkemann |
but why do it? |
# |
Mar 16th 2009, 16:52 |
ADmad |
alkemann: i believe you still have to use session if you want to persist validation errors across controllers |
# |
Mar 16th 2009, 16:47 |
alkemann |
poLK: is this still valid http://bakery.cakephp.org/articles/view/validation-in-another-controller ? |
# |
Mar 16th 2009, 12:45 |
_nate_ |
ADmad: you bet, thank *you* ;-) |
# |
Mar 16th 2009, 12:45 |
ADmad |
_nate_: thank you for you time |
# |
Mar 16th 2009, 12:42 |
_nate_ |
cool, thanks |
# |
Mar 16th 2009, 12:42 |
ADmad |
*with you |
# |
Mar 16th 2009, 12:42 |
ADmad |
ok i had a ticket ready (without test case though) just wanted to confirm with out b4 hitting submit :) |
# |
Mar 16th 2009, 12:41 |
_nate_ |
seems legitimate, but I'd like to have a record of it |
# |
Mar 16th 2009, 12:41 |
_nate_ |
ADmad: k, can you put together a test case demonstrating where the behavior is inconsistent and submit it with a ticket? |
# |
Mar 16th 2009, 12:41 |
ADmad |
_nate_: the save function checks Model::whitelist if 'fieldList' is not passed.. so this lead to inconsistnet behavior |
# |
Mar 16th 2009, 12:40 |
_nate_ |
let me look |
# |
Mar 16th 2009, 12:40 |
_nate_ |
ADmad: hm |
# |
Mar 16th 2009, 12:39 |
ADmad |
_nate_: why so ? |
# |
Mar 16th 2009, 12:39 |
ADmad |
_nate_: a query... the Model::invalidFields functions only looks for whitelist fields in the options passed using 'fieldList' key but ignores Model::whitelist property |