wrong number of arguments (3 for 2) of stylesheet_link_tag

49 views
Skip to first unread message

Cat Wild

unread,
Dec 23, 2014, 12:48:29 AM12/23/14
to rubyonra...@googlegroups.com

 <%= 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


Vivek Sampara

unread,
Dec 23, 2014, 2:28:36 AM12/23/14
to rubyonra...@googlegroups.com
Hi, 

Which version of rails are you using ? 

On Tue, Dec 23, 2014 at 11:18 AM, Cat Wild <wildca...@gmail.com> wrote:

 <%= 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


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/3ff8a8be-4d39-457b-959a-8964e106f7c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Vivek Sampara

unread,
Dec 23, 2014, 2:29:39 AM12/23/14
to rubyonra...@googlegroups.com
Also your sprockets version. 

Cat Wild

unread,
Dec 23, 2014, 8:04:24 AM12/23/14
to rubyonra...@googlegroups.com
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写道:

Cat Wild

unread,
Dec 23, 2014, 10:37:37 AM12/23/14
to rubyonra...@googlegroups.com
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写道:
Reply all
Reply to author
Forward
0 new messages