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

Undefined method `m_method' #3

Open
aanfuso opened this issue Oct 18, 2013 · 2 comments
Open

Undefined method `m_method' #3

aanfuso opened this issue Oct 18, 2013 · 2 comments

Comments

@aanfuso
Copy link

aanfuso commented Oct 18, 2013

I get this error when returning from "MercadoPago" either because the state of the transaction was rejected, confirmed or pending.

NoMethodError (undefined method `m_method' for #ActiveRecord::Relation:0x007ff73304bca8)

on this line

https://github.com/manuca/Spree-Mercado-Pago-payment-method/blob/master/app/controllers/spree/mercado_pago_controller.rb#L22

I could not find this method anywhere. I do not know what it actually does.

@manuca
Copy link
Owner

manuca commented Oct 18, 2013

Thanks for reporting.

Can you specify Spree version. I've been trying to catch up as there have been some changes in latest Spree versions, the last time I tested the gem was on the 1.3 branch of Spree.

@aanfuso
Copy link
Author

aanfuso commented Oct 18, 2013

I'm using version 1.3 of spree.

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

No branches or pull requests

2 participants