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