tech
Fix Rails Converting Backbone JSON Requests to text/html
During a recent project with BackboneJs and Rails, i noticed some very strange behavior. When my controller had an implicit render to Backbone's JSON requests, Rails was throwing an error. ActionView::MissingTemplate (Missing template users/index, base/index with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=