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

First following code is showing setAttributeNames method not exist and is that the right way of getting error messages ``` $permission = new Permission(); $permission->display_name = Input::get('display_name'); $permission->name = Input::get('name');...

It should be supported by default. I have manually added "MORPH_TO_MANY" and "MORPHED_BY_MANY" relation types into Ardent class and now i can define polymorphic many to many relations in Ardent...

I use Entrust, which depends on Ardent. I recently upgraded to Laravel 4.1. Now my tests fail with the following backtrace: ``` PHP Fatal error: Call to undefined method Illuminate\Http\Input::hasSessionStore()...

When defining a relationship i was unable to use _ (underscore) character anywhere in the name of the relationship.

In laravel you can do ``` return $this->hasMany('ClassB')->orderBy('property', 'direction'); ``` However there is no ability to use the orderBy in ardent. Would it be possible to have something like this...

Hi, I added this rule in my model ``` function __construct($attributes = array()) { parent::__construct($attributes); $this->purgeFilters[] = function ($attributeKey) { // disallow password confirmation fields if (Str::endsWith($attributeKey, '_url')) { return...

ardent is my favorite package on laravel this help me to work faster then before i have question how can i update database self on model when method beforeUpdate? i...

Is Ardent testable? It seems like I'm not doing anything special here and it's throwing a fatal error My model: ``` php class Account extends \LaravelBook\Ardent\Ardent { protected $fillable =...

I've got some nullable boolean fields, so that the value can be true, false, or not defined. I'm setting/updating them using a select field with values of '', 0 and...

Sometimes we're using Eloquent static method Create/Update, like `User::create(array('name' => 'John'));`. Any proposed static method to handle force create new/update object, bypassing validation rules?