changed to activerecord syntax
broken :(
broken, giving up