jbox-web / ajax-datatables-rails

A wrapper around DataTable's ajax methods that allow synchronization with server-side pagination in a Rails app
MIT License
587 stars 228 forks source link

fix: prevent establishing ActiveRecord connection on startup without breaking tests #413

Closed aymeric-ledorze closed 1 year ago

aymeric-ledorze commented 2 years ago

This PR solves the same issue as #406 but it keeps the current definition of default value. This ensures that the tests are still able to pass.

This is issue can be really annoying since it breaks the building of docker production images when compiling assets : no database can be accessible at this point.

n-rodriguez commented 1 year ago

Closed in favor of https://github.com/jbox-web/ajax-datatables-rails/pull/406