You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cant make "status".singularize to return "status" and not "statu"
Problem is that it should stay the same, but built in rule found in Sequel.inflections.singulars, [/s$/i, ""] removes "s" and returns positive match here https://github.com/jeremyevans/sequel/blob/master/lib/sequel/model/inflections.rb#L138
How to fix this? And suggestion to add built in rule for status.
Simplest Possible Self-Contained Example Showing the Bug
Complete Description of Issue
I cant make "status".singularize to return "status" and not "statu"
Problem is that it should stay the same, but built in rule found in
Sequel.inflections.singulars
,[/s$/i, ""]
removes "s" and returns positive match herehttps://github.com/jeremyevans/sequel/blob/master/lib/sequel/model/inflections.rb#L138
How to fix this? And suggestion to add built in rule for
status
.Simplest Possible Self-Contained Example Showing the Bug
"statu", not "status"
Full Backtrace of Exception (if any)
No response
SQL Log (if any)
No response
Ruby Version
3.2.2
Sequel Version
5.85
The text was updated successfully, but these errors were encountered: