Skip to content


Subversion checkout URL

You can clone with
Download ZIP


ActiveRecord translations disabled #147

morgoth opened this Issue · 5 comments

4 participants


I have my translations in scope: "activerecord.attributes.model.attribute"
Now formtastic doesn't take them at all.
It makes @@label_str_method on key (humanize by default).
Do I really need to rewrite all my translations to scope: "formtastic.labels.model.attribute"
I don't think is a good idea.

Above changes were made by this commit:


I noticed this as well. I believe the class will respond to human_attribute_name even if the translation is not defined explicitly. In that case, it just returns a humanized version of the attribute. You may need to do something more clever like compare the human_attribute_value to a humanized string and use the label_str_method only if they match.


Justin, Now we know what broke... I will have a look...


Ok, looks like José reverted your patch on master. I'm going to revert the doc patch that went with it. Clearly we need some specs that describe the current behaviour well, then we can figure out a patch that works for everyone.

I'm going to go make an un-broken gem ;)


Changed tags to 1.x too, happy for it to be done sooner, but it's not a blocker.


Ah, this should be closed as I've pushed a new gem, will find the previous issue and re-open.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.