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

_default method #2

Open
HoneyryderChuck opened this issue Sep 30, 2010 · 0 comments
Open

_default method #2

HoneyryderChuck opened this issue Sep 30, 2010 · 0 comments

Comments

@HoneyryderChuck
Copy link

Greetings,

I installed the plugin, did everything i was supposed to do, except for providing me with a "_default" method to the translatable fields. Well, I see that in the description you've made of the plugin, it was at least supposed to exist (title_default in that case). As for what I do in my translatable model, here's the print:

has_many :translations, :class_name => 'ObjectTranslation'
translate_columns :description

so basically, i was supposed to have a "description_default" method attached.

P.S.: Are you planning to find a way of defining the ObjectTranslation class automagically? I had to create the model and the migrations for it myself, which i don't find that pretty.

Best Regards,
Tiago

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

1 participant