public function meat_productions(Request $request)
 {
     $meat_productions = new MilkProduction();
     $meat_productions->idUser = Auth::id();
     $meat_productions->idAnimal = Animal::where('id', $request->name)->pluck('id');
     $meat_productions->idAnimal = Weight::where('id', $request->id)->pluck('id');
     //ultimo peso
     $meat_productions->dateWeight = Input::get('dateWeight');
     $meat_productions->save();
 }
 /**
  * Display a listing of the resource.
  * GET /weights
  *
  * @return Response
  */
 public function index()
 {
     $entries = Weight::where('user_id', '=', Auth::user()->id)->get();
     return View::make('weights.index')->with(compact('entries'));
 }