Make sure Arel::SelectManager is not mistaken for an attribute
No need to check for SelectStatement as it's a descendant of Node
Merge pull request #290 from mekishizufu/fix_select_manager_as_subquery

Support passing of SelectManager to attribute methods