I use following f.select query:
= f.select(:category_id, @categories, :html_options => {:class => 'select_box'}, {:disabled => lambda{ |category| category.id == 18 }})
And this line return me a syntax error... why? All braces should be closed...