diff options
author | Yoshiyuki Kinjo <kinjo@bita.jp> | 2018-10-09 16:14:51 +0900 |
---|---|---|
committer | Yoshiyuki Kinjo <yskkin@gmail.com> | 2018-10-19 14:16:03 +0900 |
commit | 32b03b46150b0161eba2321ccac7678511e3d58e (patch) | |
tree | 188dab7661dc55be022c851c878de7d68c208e20 /railties/lib/rails/source_annotation_extractor.rb | |
parent | 99c87ad2474d5c5b6e52ceac34c3cf9f9cb57f9f (diff) | |
download | rails-32b03b46150b0161eba2321ccac7678511e3d58e.tar.gz rails-32b03b46150b0161eba2321ccac7678511e3d58e.tar.bz2 rails-32b03b46150b0161eba2321ccac7678511e3d58e.zip |
Implement AR#inspect using ParamterFilter.
AR instance support `filter_parameters` since #33756.
Though Regex or Proc is valid as `filter_parameters`,
they are not supported as AR#inspect.
I also add :mask option and #filter_params to
`ActiveSupport::ParameterFilter#new` to implement this.
Diffstat (limited to 'railties/lib/rails/source_annotation_extractor.rb')
0 files changed, 0 insertions, 0 deletions