Permalink
Browse files

testing

  • Loading branch information...
1 parent b4ecedd commit ac1d8cca61174da9b95c7f0b30cbbe5424e3e8f3 Neeraj Singh committed Jun 1, 2012
@@ -76,6 +76,10 @@ def build_drop_down_for_klasses
@drop_down_for_klasses = @klasses.inject([]) do |result, klass|
result << [klass.name.underscore, search_url(:klass => klass.name.underscore)]
end
+
+ if @drop_down_for_klasses.blank?
+ raise 'before filter is not being executed'
+ end
end
def check_page_parameter
@@ -1,5 +1,5 @@
<select class='drop_down_value_klass' id='drop_down_klasses'>
<option></option>
- <%= options_for_select(drop_down_for_klasses, @drop_down_url) %>
+ <%= options_for_select(@drop_down_for_klasses, @drop_down_url) %>
<option value="<%=migration_information_path%>">Migration Information</option>
</select>

0 comments on commit ac1d8cc

Please sign in to comment.