Is it possible to pass the unique validation method extra where clauses with a variable?
Heres an example:
In my model I have my validation rules.
in Laravel 5, your "public function rules()" is supposed to be in your FormRequest object:
'required|unique:table,column,user_id,' . $this->input('field-or-whatever-you-need-from-request'), ]; } } ?>