Converting rails 2.3.5 associations to rails 4 associations