replaces rails dependency with railties in order to get rid of activerecord etc