wrong number of arguments (3 for 2) of stylesheet_link_tag

<%= stylesheet_link_tag ‘application’, media: ‘all’, ‘data-turbolinks-track’ => false %> ``

``

There seems to be no problem in my code but I do not know why

Hi,

Which version of rails are you using ?

Also your sprockets version.

I’m migrating from rails 4.2.rc2 to rails 4.2.

If I use sass-rails 5.x, I would get the issue. Now I’m using sass-rails 4.x instead.

在 2014年12月23日星期二UTC+8下午3时29分39秒,Vivek Sampara写道:

Okay, I give up tracking this issue by myself.

sprockets (2.11.0)
  hike (~> 1.2)
  multi_json (~> 1.0)
  rack (~> 1.0)
  tilt (~> 1.1, != 1.3.0)
sprockets-rails (2.2.2)
  actionpack (>= 3.0)
  activesupport (>= 3.0)
  sprockets (>= 2.8, < 4.0)

``

在 2014年12月23日星期二UTC+8下午3时29分39秒,Vivek Sampara写道: