From dc60630d2dc06fac4011df7b4ddda2c91608564e Mon Sep 17 00:00:00 2001 From: Jason Denney Date: Sat, 19 Oct 2013 18:08:32 -0400 Subject: [PATCH] On second thought, don't want to default this one. --- app/components/bikes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/bikes.rb b/app/components/bikes.rb index 02ff40d..30dd873 100644 --- a/app/components/bikes.rb +++ b/app/components/bikes.rb @@ -8,7 +8,7 @@ class Bikes < Netzke::Basepack::Grid c.columns = [ { :name => :shop_id, :text => 'Shop ID', :default_value => Bike.last.id.to_i + 1}, :serial_number, - { :id => :bike_brand__brand, :name => :bike_brand__brand, :text => 'Brand', :default_value => BikeBrand.first.id }, + { :id => :bike_brand__brand, :name => :bike_brand__brand, :text => 'Brand'}, { :name => :model, :text => 'Model', :scope => lambda { |rel| if session[:selected_bike_brand_id]