-
Notifications
You must be signed in to change notification settings - Fork 57
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
Features/fields translations #30
base: master
Are you sure you want to change the base?
Conversation
We stopped using the ApiUtils#symbol_to_string directly and now rely on the translations
No, there isn't but you can sign up for one of the free accounts. Just be On Tue, Aug 19, 2014 at 5:06 PM, brenes [email protected] wrote:
|
@brenes Did you get a chance to test this? |
Sorry, I had the most busy month at work and couldn't take a look :( I'll try to test this in the following days. |
No worries. I need to get a new version out as well with the number of On Tue, Sep 16, 2014 at 2:01 PM, brenes [email protected] wrote:
|
@brenes Had to manually do the merge. Will test and release in the next couple of days. Thanks! |
Thanks to you! And sorry for not being able to test it in months :( |
@amalc We had an issue with a field containing a '/'. I solved it in my branch by cleaning it on the ApiUtils#string_to_symbol and everything worked fine. I don't know if there's a way to obtain a right ruby variable name from a string with strange characters, so this problem doesn't repeat on the future. |
I've got your changes for mapping in master to map between fields. Will release as soon as I test. Thanks for the heads up. |
I'll add a reg ex to always generate a legal ruby variable. I take it you're using the mapping fixes you added? If you're processing a field with '/'? |
Changes needed to translate fields from Zoho to Ruby and remember the proper translations, as explained in #29
This way, I can have an utm_campaing attribute in my Zoho and Ruby will remember that the original attribute is not called Utm Campaign but utm_campaign.
I have tested it with our application (not in production yet) But I couldn't run any spec because I don't have a usable Zoho API Key (the only one I have is populated with real data and I can't run specs over them). Is there any procedure to run specs without a real API Key?