thoughtbot/suspenders — Issue #43: Application layout files misuse asset tag helpers?
Author: sohara
Created: 2011-10-15 16:31:44+00:00
State: open

I'm not sure if my use of suspenders went the way it's supposed to, but I get asset tag helpers like this in my application layout files:
<%= stylesheet_link_tag :application, :media => 'all', :cache => true %>

which produces this error:
ActionView::Template::Error (wrong number of arguments (3 for 2)):
referring to:
actionpack (3.1.1) lib/sprockets/helpers/rails_helper.rb:122:in `compute_source_path'

According to this issue: https://github.com/rails/rails/issues/3218 we are not supposed to use the cache option when using the asset pipeline?

Sorry if this is just me, but I thought I would bring it to your attention just in case.
Sean