s-ohnishi
s-ohnishi
Maybe the machine you're using doesn't have enough specs (especially memory)? I am using Phalcon in a Docker container, and have had the experience of completing compilation by increasing the...
The VPS I use has 2GB of memory allocated to it, and according to the results of the free command, 2GB of swap was also assigned. I tried installing it...
Nowadays, VPSs often use SSD storage, so I think it has become easier to use swap than before. If you can specify the swap yourself, it is very convenient to...
So based on past cases and observations, what is needed is 4GB "including swap", right? It would be nice if we could get the latest executable file in some repository....
Since `setDefault()` is for setting the initial value of the value attribute, it will not work as expected. (However, I can understand your expectations...) With the idea of reversal, if...
There is a way to avoid this validation in the manual, but I don't think you should use it because the impact is too big. `\Phalcon\Mvc\Model::setup(array('notNullValidations' => false));` How is...
@zacek I'm very happy to have someone tell me that my way of thinking wasn't wrong. I'm also glad to see that a correction is being made. Adjusting with beforeValidation()...
If this comment ["Get string attributes that allow empty strings as defaults"](https://github.com/phalcon/cphalcon/blob/485ad1a0f1814e4cb634c23069ca851d3b533fe2/phalcon/Mvc/Model.zep#L4821) is correct, then if you set an empty string in a field, the default value will be set...
@rudiservo I can't say for certain because I don't fully understand Zephir, but I think it will work if you specify it with `setEmptyStringAttributes()` and pass anything other than `null`....
> if the value is null on a non numeric field and the record exists, it is a 'PresenceOf' error. Sorry, I was wrong. My environment (the one I test...