diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2013-10-07 15:12:40 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2013-10-07 15:12:40 -0700 |
commit | d2d6e4a980800cefce4066724ddd541ae22730c1 (patch) | |
tree | 094f76bab3c03dbf5ef27b2c561d51bc402a696a /activerecord/test/cases | |
parent | 77e5c1262c7ef987cc0cdf3d246448dabc0b6e80 (diff) | |
download | rails-d2d6e4a980800cefce4066724ddd541ae22730c1.tar.gz rails-d2d6e4a980800cefce4066724ddd541ae22730c1.tar.bz2 rails-d2d6e4a980800cefce4066724ddd541ae22730c1.zip |
extract the string handling part to a method.
We know the structure passed in to the `construct` method will be a
hash, so we don't need to test it all the time. The key value will be a
symbol or string, so handle it with the special method
Diffstat (limited to 'activerecord/test/cases')
0 files changed, 0 insertions, 0 deletions