Hi,
is it just me, or does connecting to a postgresql database through a
unix socket not work?
The documentation (http://book.cakephp.org/view/40/Database-
Configuration) says I can put the socket path in the 'port' field of
the database config, so I did that:
var $production = array(
On Feb 11, 12:18 pm, "die...@be" wrote:
> I think I'll try to fix the code and file a bug/patch
I fixed it :) https://trac.cakephp.org/ticket/6087
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Group
I've been going through the sources and I think I've found out why
cake behaves like this.
Check
https://trac.cakephp.org/browser/trunk/cake/1.2.x.x/cake/console/libs/tasks/view.php#L372
It seems that here only first level associations are set, independent
of any $recursive parameter.
I think
On Jan 26, 4:52 pm, RoVo wrote:
> Hi Dieter,
>
> an example. We have 3 models (HABTM):
> Posts <-> PostsTag <-> Tag
>
> If I bake only Posts and Tag (model, controller and views), I get a
> results like yours . NO related Tags
>
> NOW I bake the PostsTag-model with belongsTo Post and belongsTo Ta
Hi, I'm try to bake views which also show associated items of the
associated items I'm showing.
The problem is, I can't find any variable in the bake template that
tells me anything about these "2nd level" associations.
Eg after setting var $recursive = 2; in the model, or $this->Model-
>recursiv
Hi all,
I want to use pagination, but also named parameters to form conditions
to restrict my resultset.
Example:
Customer hasmany contract, contract belongsTo Customer (foreign key
customer_id)
I want to be able to paginate contracts, but also only view
(paginated) the contracts of a certain cus
http://book.cakephp.org/view/75/Saving-Your-Data
Looks like this is pretty easy to code, but still the question
remains: are there any bake templates around for things like this?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Googl
Hi, suppose you have these models:
model foo belongsto bar,
bar hasmany foo.
On the form of /foos/add I want this:
- the fields to create a foo (this is what we usually have)
- but also: the fields to create a new associated bar. this is
usefull, and even a must if no bars exist yet.
On submiss
Hi fellow bakers, long time no see.
I have this issue:
Customer hasmany users, user belongsto customer.
Now, in the customerscontroller's index action I can set $this-
>Customer->recursive = 1;
If I then generate the views for customer, I nicely see the associated
users when viewing a customer.
B