Source: show | on GitHub
# File actionpack/test/controller/renderers_test.rb, line 13 def as_json(options={}) hash = { :a => :b, :c => :d, :e => :f } hash.except!(*options[:except]) if options[:except] hash end
# File actionpack/test/controller/renderers_test.rb, line 19 def to_json(options = {}) super :except => [:c, :e] end