diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-02-01 00:57:21 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-02-02 09:40:24 -0200 |
commit | 471b8554911e65bfbfc5c259f775cb7dac375c88 (patch) | |
tree | bcaf84d66d0d4377cb6c4df632a84101b931920d /actionpack/test/fixtures/session_autoload_test | |
parent | 4a18cbb6dd7ba9b6c5bd3e42b43fece6644735c2 (diff) | |
download | rails-471b8554911e65bfbfc5c259f775cb7dac375c88.tar.gz rails-471b8554911e65bfbfc5c259f775cb7dac375c88.tar.bz2 rails-471b8554911e65bfbfc5c259f775cb7dac375c88.zip |
Refactor value sanitization logic
* Extract value sanitization from default name and id method and new
collection helpers;
* No need to sanitize value in default name and id always;
* Improve value_before_type_cast to avoid concating the same method name
string twice.
[Carlos Antonio da Silva + Rafael Mendonça França]
Diffstat (limited to 'actionpack/test/fixtures/session_autoload_test')
0 files changed, 0 insertions, 0 deletions