Some references: - https://dry-rb.org/gems/dry-inflector/#acronyms - https://api.rubyonrails.org/classes/ActiveSupport/Inflector/Inflections.html#method-i-acronym
On Wednesday, November 7, 2018 at 2:03:51 PM UTC+3, Alexander Popov wrote: > > Hello! > > Sequel has auto-model name guessing, like `Artist` for `many_to_one > :artist`, but what about acronyms (abbreviations)? > > It'd be nice if Sequel will recognize `many_to_one :http_session` as > `HTTPSession`, for example, or `:order_utm` as `OrderUTM`. > > The list of acronyms can be project-specific (configurable). > > Thanks! > -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
