I have a rails API using ransack to filter results. I want to be able to query by the length of the string eg. I want to find all records where attribute a's length is less than a desired value.
name_length_lteq: 4 => should return all records with the name of 4 or less characters.
I have a rails API using ransack to filter results. I want to be able to query by the length of the string eg. I want to find all records where attribute a's length is less than a desired value.
name_length_lteq: 4 => should return all records with the name of 4 or less characters.