# File app/controllers/fusioncharts/db_example_controller.rb, line 24 def default response.content_type = Mime::HTML @animate_chart = params[:animate] if @animate_chart.nil? or @animate_chart.empty? @animate_chart = '1' end #Get data from factory masters table @factories = Fusioncharts::FactoryMaster.find(:all) end