aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailbox
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-01-02 04:15:32 +0900
committerRyuta Kamizono <kamipo@gmail.com>2019-01-02 04:15:32 +0900
commit600a66f60c76cb2d32fbf7abe4e37d509fdade47 (patch)
tree85f4a5b299a9c626f5cebf7b5f7e515485545685 /actionmailbox
parenta426615fb178bd7c90dba875dba53eaadd7393db (diff)
downloadrails-600a66f60c76cb2d32fbf7abe4e37d509fdade47.tar.gz
rails-600a66f60c76cb2d32fbf7abe4e37d509fdade47.tar.bz2
rails-600a66f60c76cb2d32fbf7abe4e37d509fdade47.zip
Fix TypeError: no implicit conversion of Arel::Attributes::Attribute into String properly
This reverts 27c6c07 since `arel_attr.to_s` is not right way to avoid the type error. That to_s returns `"#<struct Arel::Attributes::Attribute ...>"`, there is no reason to match the regex to the inspect form. And also, the regex path is not covered by our test cases. I've tweaked the regex for redundant part and added assertions for the regex path.
Diffstat (limited to 'actionmailbox')
0 files changed, 0 insertions, 0 deletions