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
fix: ensure the stored field names are always symbols
There is code that assumes that `@field_names` will contain symbols,
like this method in ActiveHash::Base:
def respond_to?(method_name, include_private=false)
super ||
begin
config = configuration_for_custom_finder(method_name)
config && config[:fields].all? do |field|
field_names.include?(field.to_sym) || field.to_sym == :id
end
end
end
0 commit comments