Also check the array:
$data = ['name' => 'Walter White'];
Should be:
$data = array('name' => 'Walter White');
best regards.
2014-02-04 José Lorenzo :
> Currently that is the most confusing part of the ORM and I'd like to make
> it easier to understand in the next release preview. By default e
Trying to figure this out. I understand the blocks as outlined in the book
http://book.cakephp.org/2.0/en/views.html#using-blocks-for-script-and-css-fi
les
Simply add the scripts you need specific for that page and it gets places in
the layout where you "fetch".
Problem is when your req
Currently that is the most confusing part of the ORM and I'd like to make
it easier to understand in the next release preview. By default entities
are protected agains mass assignment, this means that you cannot create
them without configuring what properties can be set from the request. You
ne
Hi,
I'm starting to play with 3.0 ORM and I encountered some issues saving data.
I have two simple tables:
- authors with fields id and name
- posts with fields id, title, text and author_id
I have fill tables with two authors and some posts by hand to try
retrieving data with cake.
I