-
Notifications
You must be signed in to change notification settings - Fork 38
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
FunctionClauseError error #80
Comments
Same issue for me. |
Hi @hlongvu and @chevinbrown, Rummage Phoenix and Rummage Phoenix Example don't work with Rummage Ecto 2.0.0-rc.0 yet. I am working on it now. |
any updates? |
okay i figure it out. The param you are suppose to pass into rummage during the search is actually thigs
since the model looks for "rummage" key in the incoming params map. |
has this issue been resolved? |
I got this error with rummage_ecto 2.0.0-rc.0
Request: GET /products?page=1 ** (exit) an exception was raised: ** (FunctionClauseError) no function clause matching in Keyword.merge/2 (elixir) lib/keyword.ex:704: Keyword.merge([repo: nil, per_page: 10, search: Rummage.Ecto.Hook.Search, sort: Rummage.Ecto.Hook.Sort, paginate: Rummage.Ecto.Hook.Paginate], nil) (rummage_example) web/models/product.ex:3: RummageExample.Product.uniq_merge/2 (rummage_example) web/models/product.ex:3: RummageExample.Product.rummage/2 (rummage_example) web/controllers/product_controller.ex:12: RummageExample.ProductController.index/2
The text was updated successfully, but these errors were encountered: