Fala Lipe, beleza sim!
Eu resolvi, era no httpd.conf, agora funciona perfeitamente.
Estou com outro problema referente a Models. Se vocês puderem me ajudar, no
Rails eu sei resolver perfeitamente com a sintaxe do Ruby, minha lógia é
perfeita. O problema é na hora de jogar na combobox.
Fiz toda a implementação assim:
models/fabricante.php
<?php
class Fabricante extends AppModel
{
var $name = "Fabricante";
var $hasMany = array('Carro' => array(
'className' => 'Carro',
'foreignKey' => 'fabricante_id',
'dependent'=> true
)
);
?>
models/carro.php:
<?php
class Carro extends AppModel
{
var $name = "Carro";
var $belongsTo = 'Fabricante';
?>
O problema agora é mostrar na view o Fabricante para o carro, não faço idéia
de como implementar, hpa tentei e nada..
Alguma luz?
Abraço!
Em 15 de abril de 2011 14:34, LipeDjow <[email protected]> escreveu:
> Fala Uriel, blz?
>
> Provavelmente esse problema não é de código, e sim de configuração do
> Apache.
> Dá uma lida nesse link que deve resolver seu problema:
> http://book.cakephp.org/view/917/Apache-and-mod_rewrite-and-htaccess
>
> Outra dica seria postar suas dúvidas nessa lista em inglês, pois você terá
> mais a atenção do pessoal.
>
> Espero ter ajudado.
> LipeDjow
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group
> at http://groups.google.com/group/cake-php
>
--
Desenvolvedor Web / Designer de Interfaces
http://www.urieljuliatti.com.br
"O único lugar onde o sucesso vem antes do trabalho é no dicionário." -
Albert Einstein
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php