# |
Sep 22nd 2011, 16:41 |
scoutmstershke |
I've never used multiple databases so I'd be of little to no help |
# |
Sep 22nd 2011, 16:40 |
scoutmstershke |
did you ask nicely? |
# |
Sep 22nd 2011, 16:40 |
ScottO_ |
maybe someone else would like to shed light upon it |
# |
Sep 22nd 2011, 16:39 |
ScottO_ |
still not sure why its tyring to grab your default database though |
# |
Sep 22nd 2011, 16:39 |
ScottO_ |
this is why the conventions are important |
# |
Sep 22nd 2011, 16:39 |
ScottO_ |
because DongleKeysHardware is the singular camelcased inflection of the table name |
# |
Sep 22nd 2011, 16:38 |
ScottO_ |
TheWarden: thats why i said $usesTable is unnecessary |
# |
Sep 22nd 2011, 16:38 |
TheWarden |
ScottO_: oh okay. mm |
# |
Sep 22nd 2011, 16:37 |
ScottO_ |
TheWarden: no thats right |
# |
Sep 22nd 2011, 16:37 |
TheWarden |
in all honestly I don't know how to even use caching yet. |
# |
Sep 22nd 2011, 16:37 |
TheWarden |
ScottO_: no I don't. mm I believe I have $belongsTo wrong as that is to be the class name not the database table name. |
# |
Sep 22nd 2011, 16:37 |
ScottO_ |
TheWarden: i tihnk it may be caching the model |
# |
Sep 22nd 2011, 16:36 |
ScottO_ |
TheWarden: do you have caching turned on? |
# |
Sep 22nd 2011, 16:35 |
scoutmstershke |
If anything I would say this is you http://i37.tinypic.com/2m6a41t.gif |
# |
Sep 22nd 2011, 16:34 |
scoutmstershke |
why are you just a camera guy? |
# |
Sep 22nd 2011, 16:34 |
PhpNut |
? |
# |
Sep 22nd 2011, 16:34 |
TheWarden |
scoutmstershke: good morning. |
# |
Sep 22nd 2011, 16:34 |
scoutmstershke |
!phpnut |
# |
Sep 22nd 2011, 16:34 |
TheWarden |
as to regards to the $useTable, I agree it is not required but I don't like to assume things so I specify even though I'm matching the naming convention. |
# |
Sep 22nd 2011, 16:33 |
scoutmstershke |
good morning all |
# |
Sep 22nd 2011, 16:32 |
ScottO_ |
ok |
# |
Sep 22nd 2011, 16:32 |
TheWarden |
ScottO_: yes |
# |
Sep 22nd 2011, 16:32 |
ScottO_ |
on belongsTo? |
# |
Sep 22nd 2011, 16:32 |
ScottO_ |
TheWarden: which was that answering? |
# |
Sep 22nd 2011, 16:32 |
TheWarden |
) |
# |
Sep 22nd 2011, 16:32 |
TheWarden |
ScottO_: Only if I need to define more properties at least according to the book. |
# |
Sep 22nd 2011, 16:31 |
ScottO_ |
scratch the last concern |
# |
Sep 22nd 2011, 16:31 |
ScottO_ |
oh nm you have a few |
# |
Sep 22nd 2011, 16:31 |
ScottO_ |
and why are you specifying the $useDbConfig? |
# |
Sep 22nd 2011, 16:31 |
ScottO_ |
$belongsTo is supposed to be an array isnt it? |
# |
Sep 22nd 2011, 16:31 |
TheWarden |
here's the view I'm presently in not that it matters what view I'm in as I get he same result... http://bin.cakephp.org/view/1055879171 |
# |
Sep 22nd 2011, 16:30 |
ScottO_ |
TheWarden: #useTable is unnecessary |
# |
Sep 22nd 2011, 16:30 |
ScottO_ |
oh ok |
# |
Sep 22nd 2011, 16:30 |
TheWarden |
ScottO_: I have done so already... http://pastebin.com/wwTBcfn3 |
# |
Sep 22nd 2011, 16:29 |
ScottO_ |
~tell TheWarden about bin |
# |
Sep 22nd 2011, 16:29 |
TheWarden |
ScottO_: as I've stated I don't have such a table, it shouldn't be putting a prefix of web_ yet it does anyways using the wrong data source config in the database.php yet the $useDbConfig is defined. |
# |
Sep 22nd 2011, 16:29 |
ScottO_ |
TheWarden: please bin any actual errors and related code |
# |
Sep 22nd 2011, 16:28 |
ScottO_ |
TheWarden: pay VERY close attention to the cakephp naming conventions |
# |
Sep 22nd 2011, 16:28 |
TheWarden |
ScottO_: start over.. crap I've put a lot into this and your saying to start it all over. Everything is so basic at this point too... only problem comes into play when I try to link a table. |
# |
Sep 22nd 2011, 16:28 |
ScottO_ |
the Class for that table should be WebDongleKeysHardware |
# |
Sep 22nd 2011, 16:27 |
ScottO_ |
sounds like something wrnog was done |