rgeo / rgeo-activerecord

RGeo ActiveRecord extensions and tools for spatial connection adapters
Other
89 stars 64 forks source link

Prefer `require_relative` for internal requires #78

Closed tagliala closed 2 months ago

tagliala commented 2 months ago

require_relative is preferred over require for files within the same project because it uses paths relative to the current file, making code more portable and less dependent on the load path.

This change updates internal requires to use require_relative for consistency, performance, and improved portability.

Refs:

BuonOmo commented 2 months ago

Thank you!