jwhitley / requirejs-rails

RequireJS support for your Rails 3 or 4 application
MIT License
592 stars 202 forks source link

setting logical_asset_filter configuration crashed under 0.9.8 and Rails 4.2.1 #235

Closed gtd closed 9 years ago

gtd commented 9 years ago

I am in the process of upgrade an app from Rails 3.2 to 4.2. My jquery-rails is locked to 0.9.5 and loading works. If I update to 0.9.8, then I get the following error:

/Users/gtd/repo/config/application.rb:160:in `<class:Application>': undefined method `+' for #<Mubi::Application:0x007fc9335940f8> (NoMethodError)

This corresponds to this line in application.rb:

config.requirejs.logical_asset_filter += [/\.hbs$/]
jezstephens commented 9 years ago

Duplicate of #229

carsomyr commented 9 years ago

@gtd See previous issue.