zorab47 / active_admin-sortable_tree

Show ActiveAdmin index as a nested tree with drag'n'drop
MIT License
163 stars 127 forks source link

Don't assume 'activeadmin' is already loaded #90

Closed marcandre closed 2 years ago

marcandre commented 4 years ago

Since the gem depends on activeadmin, it should require it.

Otherwise users have to be careful in the order in which they require their gems.

See also: https://github.com/rubocop-hq/rubocop/issues/8207

zorab47 commented 2 years ago

Thanks!