Weston Ganger
Weston Ganger
Can the escaping be added as an option so we dont have to do gsub on every search? ```ruby search_scope :search do option :escape_parser_operators end ```
Looks like you can use Custom Operators for this ```ruby enum gender: { male: 0, female: 1, } search_scope :search do attributes :gender generator :match_gender_enum do |column_name, raw_value| gender_int =...
This feature was added as part of #35 Example usage: ```ruby class Book include SearchCop enum types: { foo: 0, bar: 1, } search_scope :search do attributes :number, :my_enum generator...
+1 the cast to string option would be great
@mrkamel I would be interested in helping out in implementing the `:cast` option. Any hints on where to start?
Looks like this functionality can be achieved using Custom Operators ```ruby search_scope :search do attributes :number generator :like_string do |column_name, raw_value| pattern = quote("%#{raw_value}%") "#{column_name} LIKE #{pattern}" end end Book.search(number:...
I am going to try taking a stab at adding this functionality. Seems like a very useful feature.
Is it time for this functionality to be merged into master?
I see that iOS now has the method `shareAsset` which enables video upload. We should get this implemented in Android too. We have the documentation for the intent, would that...