Probably really easy but im having trouble finding documentation online about this I have two activerecord queries in Ruby that i want to join together via an OR operator
@pro = Project.where(:manager_user_id => current_user.id )
@proa = Project.where(:account_manager => current_user.id)
im new to ruby but tried this myself using ||
@pro = Project.where(:manager_user_id => current_user.id || :account_manager => current_user.id)
this didnt work, So 1. id like to know how to actually do this in Ruby and 2. if that person can also give me a heads up on the boolean syntax in a ruby statement like this altogether. e.g. AND,OR,XOR...