Monday, November 14, 2016

NoMethodError undefined method `[]' for "image":Sass::Script::Value::String

I ran into this issue when upgrading a Rails 3.2 project to Rails 4.2. This is due to sprockets-rails version incompatibility. Replace asset-url with two arguments with image-url('logo.png').

https://github.com/rails/sprockets-rails/issues/279

No comments:

Post a Comment