ardent icon indicating copy to clipboard operation
ardent copied to clipboard

Self-validating, secure and smart models for Laravel's Eloquent ORM

Results 102 ardent issues
Sort by recently updated
recently updated
newest added

``` Log::info(print_r(Input::old(),true)); $location->validate(); Log::info(print_r(Input::old(),true)); ``` After validate() the old input data is completely empty. Probably belongs to this part: https://github.com/laravelbook/ardent/blob/master/src/LaravelBook/Ardent/Ardent.php#L533-L536 Why do we need a Input::flash() here?

When trying the following: ``` $comment = new Comment([...]); $response = $user->comments()->save($comment); ``` $response gets a `boolean false` value. Is there another way to get the errors when inserting/updating relations?

hi, is it possible to get beforesave isdirty and getdirty values in aftersave? thanks

Auto hydration doesn't work until and unless rules are defined in the model. Well this info is no where mentioned in the documentation. This issue gave me hard time during...

I have this code: $user = User::create($_user); It does return a user no matter if it validates or not, but it doesn't actually save it if it doesn't validate. For...

Hi, I've been trying to get [Global scopes](http://laravel.com/docs/eloquent#global-scopes) to work, it works fine with eloquent, but it turns out Ardent doesn't call `applyGlobalScopes()` on the `$builder` before returning it from...

Hi, i use the latest Laravel release with ardent. My User model extends Ardent and have some basic rules. In the latest version of Laravel there is a new column...

I have `$autoHydrateEntityFromInput = true` and `$forceEntityHydrationFromInput = false` because I want the input elements not in the model rules to be dropped during hydration. If they aren't dropped, there...

Here's my Laravel/Ardent Model. I'm using auto-hydration. ``` class Party extends \LaravelBook\Ardent\Ardent { public $autoHydrateEntityFromInput = true; public $forceEntityHydrationFromInput = true; protected $guarded = array(); protected $table = 'Parties'; public...