Interning empty string #158

Open
tienle opened this Issue Sep 6, 2012 · 0 comments

Projects

None yet

1 participant

@tienle
tienle commented Sep 6, 2012

When a model has no non-polymorphism associations, but does have polymorphism associations. It may lead to an exception while trying to convert an empty string (association_name variable) to symbol in the method #association_condition_details (searchlogic/named_scopes/association_conditions.rb#L24)
Step to reproduce:

  1. Create a model A like above
  2. Call A.respond_to? :_dump
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment