check errors size
using empty?
add nested_form

Signed-off-by: Donny Kurnia <donnykurnia@gmail.com>
add squeel gem

Signed-off-by: Donny Kurnia <donnykurnia@gmail.com>
add foreigner gem

Signed-off-by: Donny Kurnia <donnykurnia@gmail.com>
add search and search_result model

Signed-off-by: Donny Kurnia <donnykurnia@gmail.com>
add sort to search

Signed-off-by: Donny Kurnia <donnykurnia@gmail.com>
load jquery_nested_form
remove search handle from index action
add accepts_nested_attributes_for
search field

Signed-off-by: Donny Kurnia <donnykurnia@gmail.com>
add searches controller

Signed-off-by: Donny Kurnia <donnykurnia@gmail.com>
remove unused class method
search form refactored

Signed-off-by: Donny Kurnia <donnykurnia@gmail.com>
build conditions
update search_params
load @products
add order_str
add condition_title, refactor code
show search result

Signed-off-by: Donny Kurnia <donnykurnia@gmail.com>