radiant/radiant-sheets-extension — Issue #16: Missing coffee script still errors
Author: saturnflyer
Created: 2012-02-26 15:49:52+00:00
State: open

The rescue from missing coffee script still leaves a problem. This is the output from an app deployed on heroku:

2012-02-26T15:46:51+00:00 app[web.1]: Rendering template within layouts/application
2012-02-26T15:46:51+00:00 app[web.1]: Rendering admin/scripts/new
2012-02-26T15:46:51+00:00 app[web.1]:
2012-02-26T15:46:51+00:00 app[web.1]: 14: = p.hidden_field :filter_id, :value => ''
2012-02-26T15:46:51+00:00 app[web.1]: ActionView::TemplateError (undefined method `filter_name' for CoffeeFilter:Class) on line #17 of .bundle/gems/ruby/1.8/gems/radiant-sheets-extension-1.0.8/app/views/admin/scripts/new.html.haml:
2012-02-26T15:46:51+00:00 app[web.1]: 16: = p.label :filter_id, t('filter'), :for => 'sheet_filter_id'
2012-02-26T15:46:51+00:00 app[web.1]: 17: = p.select :filter_id, javascript_filter_options_for_select(p.object.filter_id), {}, :id => 'sheet_filter_id'
2012-02-26T15:46:51+00:00 app[web.1]: 15: - else
2012-02-26T15:46:51+00:00 app[web.1]: 18: %span.reference_links
2012-02-26T15:46:51+00:00 app[web.1]: 19: = t('reference')
2012-02-26T15:46:51+00:00 app[web.1]: 20: - unless SheetsExtension.javascript_filters.blank?
2012-02-26T15:46:51+00:00 app[web.1]: .bundle/gems/ruby/1.8/gems/radiant-sheets-extension-1.0.8/app/helpers/admin/scripts_helper.rb:3:in `map'