myISAM.
i'll check OrderControllers validation errors
On 26 Mar, 16:18, Lucca Mordente luccamorde...@gmail.com wrote:
Maybe your database table engine does not support transactions.
What engine are you using?
Lucca Mordente
On 26 mar, 09:28, Ernesto e.fanz...@gmail.com wrote:
Hello.
you can't use transactions with myisam tables.
change it to innoDB (or another), in which this support is present
On Mar 29, 9:34 am, Ernesto e.fanz...@gmail.com wrote:
myISAM.
i'll check OrderControllers validation errors
On 26 Mar, 16:18, Lucca Mordente luccamorde...@gmail.com wrote:
Hello.
i have 2 models (Item and Order) joined together by a HABTM
relationship.
since i need some additional fields (quantity) in the join table i
splitted the HABTM in 2x hasMany.
after that i coded a Order add form wich gives me this data array
Array
(
[Order] = Array
(
Check validation errors. If ItemsOrders items are validated after
Order and fail transaction should be rolled back. Data stays added
as you have non-InnoDB table orders that do not support
transactions.
On Mar 26, 6:28 pm, Ernesto e.fanz...@gmail.com wrote:
Hello.
i have 2 models (Item and
Maybe your database table engine does not support transactions.
What engine are you using?
Lucca Mordente
On 26 mar, 09:28, Ernesto e.fanz...@gmail.com wrote:
Hello.
i have 2 models (Item and Order) joined together by a HABTM
relationship.
since i need some additional fields (quantity) in