You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while trying to add a monetized attribute called 'custom_frame-price', I was getting the following error:
ArgumentError (Model already has a monetized attribute called 'custom_frame-price')
The error was misleading, I didn't understand why for a couple of hours, the reason was another error that was thrown before and it was not visible in the browser (only the last one was visible):
NameError (invalid attribute name `custom_frame-price_money_before_type_cast'):
I have tried then to rename the attribute without the hyphen and it worked.
Should we add a warning in the README about that? Something like "WARNING: Do not use hyphens in the name of the attribute"?
I am using them in my application, in Ruby/Rails is a valid name.
The text was updated successfully, but these errors were encountered:
Hi all,
while trying to add a monetized attribute called 'custom_frame-price', I was getting the following error:
The error was misleading, I didn't understand why for a couple of hours, the reason was another error that was thrown before and it was not visible in the browser (only the last one was visible):
I have tried then to rename the attribute without the hyphen and it worked.
Should we add a warning in the README about that? Something like "WARNING: Do not use hyphens in the name of the attribute"?
I am using them in my application, in Ruby/Rails is a valid name.
The text was updated successfully, but these errors were encountered: