Skip to content

Instantly share code, notes, and snippets.

@davidsf
davidsf / gist:2172358
Created March 23, 2012 16:17
link_to problem
= link_to ({:controller => params[:controller], :action => "seleccionados", :filter => current_param_filters} , :title => 'Ver un listado de los lotes seleccionados') do
/home/david/src/newpanel/app/views/application/_selections.haml:48: syntax error, unexpected ',', expecting ')'
...ter => current_param_filters} , :title => 'Ver un listado de...
@davidsf
davidsf / gist:1248059
Created September 28, 2011 14:19
Highchart pointer
@graph_column = LazyHighCharts::HighChart.new('column') do |f|
f.series(:name=>'Correct',:data=> [1, 2, 3, 4, 5])
f.series(:name=>'Incorrect',:data=> [10, 2, 3, 1, 4] )
f.title({ :text=>"clickable bar chart"})
f.legend({:align => 'right',
:x => -100,
:verticalAlign=>'top',
:y=>20,
:floating=>"true",
:backgroundColor=>'#FFFFFF',