Syntax changed for associations

'target' attribute now called 'class_name' for belongs_to, has_many and many_to_many