I tried to setup the search on Product.rb. It failed to execute. The error given was
...................................
ArgumentError in ProductsController#create
wrong number of arguments (1 for 2)
Rails.root: /var/www/html/project_rails/
Application Trace | Framework Trace | Full Trace
app/models/product.rb:303:in standard_search' app/controllers/products_controller.rb:19:increate'
.........................
Please fix it soon if possible or help me with a workaround. Thank You.
I tried to setup the search on Product.rb. It failed to execute. The error given was ................................... ArgumentError in ProductsController#create
wrong number of arguments (1 for 2)
Rails.root: /var/www/html/project_rails/ Application Trace | Framework Trace | Full Trace
app/models/product.rb:303:in
standard_search' app/controllers/products_controller.rb:19:in
create' ......................... Please fix it soon if possible or help me with a workaround. Thank You.