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

close #2092 fix undefined-method-money-for-string #2093

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

panhachom
Copy link
Collaborator

Application spree_starter

⚠️ Error occurred in staging ⚠️
An ActionView::Template::Error occurred in payments#new.

Exception:
undefined method `money' for "$70.00":String

Set by controller:
{:user=>"160"}

Request:

* url : https://staging-server.contigo.asia/admin/orders/R130030278/payments/new
* http_method : GET
* ip_address : 96.9.87.114
* parameters : {"controller"=>"spree/admin/payments", "action"=>"new", "order_id"=>"R130030278"}
* timestamp : 2024-11-26 21:37:16 +0700

Backtrace:

* /app/vendor/bundle/ruby/3.2.0/gems/spree_backend-4.5.1/app/views/spree/admin/payments/_form.html.erb:4:in `_vendor_bundle_ruby_______gems_spree_backend_______app_views_spree_admin_payments__form_html_erb___2383139735947033560_603740'
* /app/vendor/bundle/ruby/3.2.0/gems/actionview-7.0.8/lib/action_view/base.rb:244:in `public_send'
* /app/vendor/bundle/ruby/3.2.0/gems/actionview-7.0.8/lib/action_view/base.rb:244:in `_run'
* /app/vendor/bundle/ruby/3.2.0/gems/actionview-7.0.8/lib/action_view/template.rb:157:in `block in render'
* /app/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8/lib/active_support/notifications.rb:206:in `block in instrument'

@panhachom panhachom self-assigned this Nov 26, 2024
@panhachom panhachom added bug Something isn't working and removed backend labels Nov 26, 2024
@panhachom panhachom linked an issue Nov 26, 2024 that may be closed by this pull request
@panhachom panhachom force-pushed the 2092-fix-undefined-method-money-for-string branch from 0f9595b to b7a6825 Compare November 28, 2024 11:37
@channainfo channainfo merged commit 03578be into develop Nov 28, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

fix undefined method money for String
2 participants