Sha256: 33add7b3a1cd5fb9d032e63002e373212d388ce446bd7fefeb84f066d87f0cc7
Contents?: true
Size: 410 Bytes
Versions: 174
Compression:
Stored size: 410 Bytes
Contents
ActiveSupport::Inflector.inflections(:en) do |inflect| # "_by" is a particularly common suffix for associations in Bullet Train applications (e.g. `created_by`, etc.) # but it gets pluralized incorrectly as "_bies". This should fix both Super Scaffolding for those fields and # the resulting invocations of the scope validator that are generated by Super Scaffolding. inflect.irregular "by", "bys" end
Version data entries
174 entries across 174 versions & 1 rubygems