Rails3 ar syntax

Finished updating AR Syntax, probably.