6 ms·
Rails seemingly handles it the same way as Laravel and it all makes sense very quickly. The argument here that you would end up with 'addresss' is silly as you
by jwcooper 3y ago
Rails seemingly handles it the same way as Laravel and it all makes sense very quickly.
The argument here that you would end up with 'addresss' is silly as you can also quickly handle that with a new inflection and it rarely even happens in practice.
Also, to be pedantic, rails handles this just fine by default:
irb(main):001:0> "address".pluralize
=> "addresses"
- stanislavb 3y agoI'd say Laravel handles this the same way as Rails as it was inspired by Rails. (nitpicking)