model fixes
Merge branch 'master' of https://github.com/leightonj/prails