-
I'm creating a model with validation (hopefully I understood correctly how to do it). It is supposed to always fail to save.
```
class TestModel extends Eloquent {
public static function boot()
…
-
I admit that I am new to Laravel and it might just be something simple and I thank you in advance for your help.
I started off with the Laravel4 Started Kit (https://github.com/brunogaspar/laravel4-s…
-
Hello
I've been trying to get your administrator up and running in my local build. At the moment, my demo app is very simple: there are only two tables/models, games and users (who can approve games)…
-
I have tried ways like
$user = new User;
...
$user->save();
And
$user = User::create(array(...));
And amend() don't work either...
Any suggestions why?
-
To help keep Confide (and Entrust) more stable, why not modify it to use Eloquent directly? I know that Confide makes some use of the save hooks and validation, but wouldn't it be more ideal to use th…
-
I must say that I'm a huge fan of Ardent. Just started playing around with it today and it's been a breeze!
The only issue I've run into is updating models when there is a unique field (for example, …
-
I'm in the process of converting a very large, active application over to Laravel 4.
Deep within the Laravel code are hard-coded definitions for the key columns used in the users table, "id," "user…
-
Model:
``` php
```
Controller:
``` php
public function update($id)
{
//Grab the Blog post
$post = Post::where('id', '=', $id)->first();
//Blog Post validates and updates ok
if…
-
When setting `$autoHydrateEntityFromInput = true;` non required fields in the `$rules` array are not saved.
**Table Structure:**
```
Category Table
-- title
-- description
```
**Model `$rules` arr…
-
The below relationship definition now dies using the dev-master from last nights update for the query-filter. This is the only relationship I tested that failed.
``` php
'groups' => array(
'titl…