graphiti-api / graphiti-rails

MIT License
54 stars 28 forks source link

Do not depend on ActiveRecord for route generators #32

Closed wadetandy closed 5 years ago

wadetandy commented 5 years ago

The generators currently fail in rails applications which are not using activerecord, as the previous version relied on the table name pluralization logic from that library. This changes to use the simpler version which matches the way rails' default routes generator handles it.