Skip to content

Instantly share code, notes, and snippets.

@umdstu
Last active August 29, 2015 14:15
Show Gist options
  • Save umdstu/da0b3815de213f615097 to your computer and use it in GitHub Desktop.
Save umdstu/da0b3815de213f615097 to your computer and use it in GitHub Desktop.
-gem 'rails', '3.2.3'
+gem 'rails', '3.2.21'
-gem 'mocha', '0.12.10', :require => false
+gem 'mocha', :require => false
plus all dependencies of rails3.2.21 updated.
response body...
renderChart(options, null, 'activity_graph_MTDRNNFD', myf');
response body....
renderChart(options, null, 'activity_graph_ULOCDLGP', 'myf');
<%- form_id ||= 'myf' -%>
<div id="<%= chart_id %>">
</div>
<script>
$(document).ready(function() {
var options = <%= @chart.to_json.html_safe %>;
renderChart(options, null, '<%= chart_id %>', <%= form_id ? "\'#{form_id}\'" : "null" %>);
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment