Kalo gak mau exception bisa pake Bundle.find_by_id(params[:id]). Tapi gak semua database aman, kalo di PostgreSQL mesti dicek dulu params[:id] nil apa gak. Kalo pake MySQL sih hajar aja.
-- Hendy [Non-text portions of this message have been removed]
Kalo gak mau exception bisa pake Bundle.find_by_id(params[:id]). Tapi gak semua database aman, kalo di PostgreSQL mesti dicek dulu params[:id] nil apa gak. Kalo pake MySQL sih hajar aja.
-- Hendy [Non-text portions of this message have been removed]