#623 added ransack aliases, so long query strings like owner_first_name_or_owner_last_name can be shortened to owner. This feature is great, but it'd be even better if we could combine those aliases with _or_ like any other query string.
Example:
class Post < ApplicationRecord
ransack_alias :owner, :owner_first_name_or_owner_last_name
ransack_alias :approver, :approver_first_name_or_approver_last_name
end
Post.ransack(owner_or_approver_cont: "Bob")
#623 added ransack aliases, so long query strings like
owner_first_name_or_owner_last_namecan be shortened toowner. This feature is great, but it'd be even better if we could combine those aliases with_or_like any other query string.Example: