Module: ActiveResourceJsonFormatFixes

Defined in:
lib/remotable/active_resource_fixes.rb

Instance Method Summary collapse

Instance Method Details

#decode(json) ⇒ Object



105
106
107
108
# File 'lib/remotable/active_resource_fixes.rb', line 105

def decode(json)
  return {} if json.blank? # <-- insert this line. json will be nil if response is 304
  super
end