- https://speakerdeck.com/willroth/50-laravel-tricks-in-50-minutes
- https://www.reddit.com/r/laravel/comments/3to60i/50_laravel_tricks/
- 1. Automatic Model Validation
| /home/laravel/app/storage/logs/laravel.log { | |
| daily | |
| missingok | |
| rotate 7 | |
| maxage 7 | |
| compress | |
| notifempty | |
| create 755 user group | |
| su user group | |
| } |
| RSpec.configure do |config| | |
| config.before(:suite) do | |
| DatabaseCleaner.clean_with(:truncation) | |
| end | |
| config.before(:each) do | |
| DatabaseCleaner.strategy = :transaction | |
| end | |
| config.before(:each, js: true) do |