User.where(id: 1).or(User.where(name:'1')).to_sql# "SELECT `users`.* FROM `users` WHERE (`users`.`id` = 1 OR `users`.`name` = '1')"User.where(User.arel_table[:id].eq(1).or(User.arel_table[:name].eq('1'))).to_sql#"SELECT `users`.* FROM `users` WHERE (`users`.`id` = 1 OR `users`.`name` = '1')"