Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

search in polymorphic association end up with error #1270

Closed
ghn opened this issue Feb 2, 2022 · 4 comments
Closed

search in polymorphic association end up with error #1270

ghn opened this issue Feb 2, 2022 · 4 comments

Comments

@ghn
Copy link

ghn commented Feb 2, 2022

Hey πŸ‘‹

Just notice a bug with latest version 2.5.0 with polymorphic association

This works: βœ… <input name="q[taskable_of_Product_type_name_eq]"
This not ❌ <input name="q[taskable_of_product_type_name_eq]" (notice product with lowercase)

--> and boom πŸ’₯ wrong constant name product

It would be nice to string#capitalize

@deivid-rodriguez
Copy link
Contributor

Hi! Would you be able to verify whether #1275 fixes the issue?

@ghn
Copy link
Author

ghn commented Mar 7, 2022

Hi! Would you be able to verify whether #1275 fixes the issue?

Hello!
I just tested with your branch and I'm sorry, but this is not fixing the problem described above.

@deivid-rodriguez
Copy link
Contributor

Ok, can you share steps to reproduce your problem, then?

@deivid-rodriguez
Copy link
Contributor

Closing due to lack of feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants