Benjamin Worwa
Benjamin Worwa
> OK that makes perfect sense and means that we don't need a new tag at all. > > The one question is whitespace management. I'd like for comments to...
I would consider HTML JS & CSS autocompletion to be document agnostic and just give base autocompletion features of the embedded language. No need to track variables and references along...
Just my 2 cents. 0.23 equivalent to 0.22 ```javascript editor.setSelection(selection) editor.getAction('actions.find').run(); ``` is: ```javascript editor.setSelection(selection); editor.focus(); editor.getAction('actions.find').run(); editor.revealLineInCenter(selection.positionLineNumber); ``` Don't know if the autofocus removal was intentional.
> Note: No model events are fired when updating **a set** of models via the Eloquent query builder.
`Validator` won't validate `empty` variables unless they're `required`. Try the following unit test: ``` php $validator = Validator::make( array('alliance_id' => null), array('alliance_id' => 'integer|exists:alliances,id') ); $this->assertFalse($validator->fails()); ``` Maybe you're setting...
> http://laravel.com/docs/validation#conditionally-adding-rules You need to use `sometimes`. `'sometimes|required'`
@RyanNielson not to mention broken URLs, duplicated content, etc.
Or you could create your directory/file anywhere you want, add to your `composer.json` > `autoload` > `classmap` or `files` the route to that directory/file and then run `php artisan dump-autoload`....
`{{ $condition ? $value : $defaults }}` works. You could also do `{{ $value ?: $default }}` as of PHP 5.3.
And why not use `{{ $condition ? $value : '' }}`, besides saving 2 characters.