-
Notifications
You must be signed in to change notification settings - Fork 19
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
Remote_table in spree 0.70.7 controller: #<TypeError: Zip is not a module> #17
Comments
hi @r72cccp !
what is the whole error message? thanks! |
All error message is: Completed 500 Internal Server Error in 464ms
|
|
And i get:
So, if i'm understand right - the module Zip in somewhere which used my remote_table was oberrided with class Zip in models/zip.rb. So, what ca i do? Rename class Zip in model and their descendands? P.S. I overwrited class in model from Zip to ZipCode and ... tadam!!! Thanks!!! |
Hi!
I'm include gem 'remote_table' in my Gemfile (Rails 3.1.12)
In spree admin i'd create new controller:
but when this action fired, i'm see the next:
TypeError (Zip is not a module):
app/controllers/admin/xls_price_loads_controller.rb:26:in `upload'
...
when i'm explore the source_xls object, a
frozen?
property of them is true.So, can any soul write me, why the parsed object is frozed?
And, if i run this code
from lib/tasks as rake task - all work fine!
All wo
Thanks for all advice!
The text was updated successfully, but these errors were encountered: