Log message #1109950

# At Username Text
# Oct 22nd 2009, 10:27 nicoleG )
# Oct 22nd 2009, 10:26 Ceeram markstory: any ideas what could be causing the wrong data format on the test
# Oct 22nd 2009, 10:26 Horror nicoleG: i'll give that a try. Thanks!
# Oct 22nd 2009, 10:26 nicoleG i think that will work
# Oct 22nd 2009, 10:26 Horror t0nic: Yeah. I'm talking about the controller edit(0 function
# Oct 22nd 2009, 10:26 nicoleG var $primaryKey = 'subId'
# Oct 22nd 2009, 10:26 nicoleG horror, you can add the primary key to the model
# Oct 22nd 2009, 10:25 nicoleG is it possible to paginate $this->Model->query() results and if so, how?
# Oct 22nd 2009, 10:25 t0nic Horror: I don't quite know how but it would be done in the controller, not edit.ctp
# Oct 22nd 2009, 10:24 t0nic thanks, I'll try
# Oct 22nd 2009, 10:24 t0nic hmm... I turned them off!!
# Oct 22nd 2009, 10:24 BlackIce t0nic: with or without debug settings?
# Oct 22nd 2009, 10:23 Horror hey fellas - in the default edit.ctp generated by bake console. how do I modify the default query so takes table.subId as the primary key instead of table.id?
# Oct 22nd 2009, 10:21 t0nic I guess I'll just have to tell myself about patience
# Oct 22nd 2009, 10:21 t0nic not even you can help me :(
# Oct 22nd 2009, 10:20 t0nic ok cakebot
# Oct 22nd 2009, 10:20 t0nic ~tell t0nic about patience
# Oct 22nd 2009, 10:18 t0nic I added a couple fields to the users table but username and password are unchanged
# Oct 22nd 2009, 10:17 t0nic anything else one would recommend checking?
# Oct 22nd 2009, 10:15 t0nic my login stopped working.... I'm in auth setup, looking at where I'm getting the err. and $this->login isn't working (i'm getting loginError) but the hashed password and the username are set correctly (echoed them) so I can't figure out what's failing
# Oct 22nd 2009, 10:07 ionas I think its a good idea, esp. if you have tons of views, find and replace is nothing to rely on if it can be done with little effort/speed inside the framework - but well - would you oppose if someone external wrote a patch for this?
# Oct 22nd 2009, 10:06 ionas see I do not even completely understand that (which aliases anyway, cake does use the singelton name as the variable name by convention, doesn't it?)
# Oct 22nd 2009, 10:05 markstory override constructClasses() and move the aliases around.
# Oct 22nd 2009, 10:05 ionas $this->ModelAlias/Component-Clashing
# Oct 22nd 2009, 10:04 jcrawford nice blank white page :( http://book.cakephp.org/search/tagErrorMsg
# Oct 22nd 2009, 10:04 markstory they do.
# Oct 22nd 2009, 10:04 ionas think its better to give the user control over the namespace
# Oct 22nd 2009, 10:04 ionas it has yes
# Oct 22nd 2009, 10:04 markstory s/$this->Auth/$this->AppAuth/
# Oct 22nd 2009, 10:04 markstory does your edtior not have search + replace?
# Oct 22nd 2009, 10:03 ionas that does not make sense, yes
# Oct 22nd 2009, 10:03 markstory 'Email' => array('as' => 'Auth');
# Oct 22nd 2009, 10:03 ionas Indirect?
# Oct 22nd 2009, 10:03 markstory It makes things more indirect.
# Oct 22nd 2009, 10:02 ionas markstory, besides that, do you see the benefit of being able to extend core components and helpers really easy by adding those aliases? When you have a product that is already finished and need some addition to some core helper or component, you just extend it and change a view lines in your controller (the alias) and thats it
# Oct 22nd 2009, 10:00 ionas and would probably even accepd $f->input() ;)
# Oct 22nd 2009, 10:00 ionas I can see that tiny views that have some constrains / conventions are okay yeah
# Oct 22nd 2009, 10:00 markstory Perhaps I'm more creative with variable names though.
# Oct 22nd 2009, 10:00 markstory I don't like $this->Form personally
# Oct 22nd 2009, 09:58 ionas markstory, well then array('MyAuth' => array('as' => 'Auth'))
# Oct 22nd 2009, 09:58 ionas markstory, why not? components and models share the same namespace on controllers (Breadcrume Model vs Breadcrume Controller), you can extend core components and core helpers easily then?