- Stack Overflow: [Why you should not write inline JavaScript](https://softwareengineering.stackexchange.com/questions/86589/why-should-i-avoid-inline-scripting)
- Stack Overflow: [Why you should not write inline JavaScript](https://softwareengineering.stackexchange.com/questions/86589/why-should-i-avoid-inline-scripting)
## Auto loading
Rails auto-loading on `development` differs from the load policy in the `production` environment.
In development mode, `config.eager_load` is set to `false`, which means classes
are loaded as needed. With the classic Rails autoloader, it is known that this can lead to
[Rails resolving the wrong class](https://guides.rubyonrails.org/v5.2/autoloading_and_reloading_constants.html#when-constants-aren-t-missed-relative-references)
if the class name is ambiguous. This can be fixed by specifying the complete namespace to the class.
optional:order_by,type: String,values: %w[id iid created_at ref],default: 'id',desc: 'Return deployments ordered by `id` or `iid` or `created_at` or `ref`'
optional:order_by,type: String,values: %w[id iid created_at updated_at ref],default: 'id',desc: 'Return deployments ordered by `id` or `iid` or `created_at` or `updated_at` or `ref`'
optional:sort,type: String,values: %w[asc desc],default: 'asc',desc: 'Sort by asc (ascending) or desc (descending)'
optional:sort,type: String,values: %w[asc desc],default: 'asc',desc: 'Sort by asc (ascending) or desc (descending)'