stevo/activerecord-database-views — pull request #2 by b-wojtowicz (2014-10-13 13:48:47+00:00)
Title: allow to manually set up order of loading files by sorting them using numbers in files

If .sql files contain prefix with numbers followed by underscore (1_, 2_, 001_, 002_, ...) then name of database view is extracted from file name by removing numbers and underscore:

- `001_inactive_users.sql` - will become `inactive_users`
- `inactive_users.sql` - will stay `inactive_users`