use newer AR syntax
fix table names in the down method
point rails at github