refactored or.rb
moved around joins class
normalizes all input at once
added sl erro messagse
d
fixed polymoprhic rel