Yeah, I believe I had to throw an alias on Vote (vote.rb:24)


On Mon, Feb 10, 2014 at 11:06 AM, john irving <notifications@github.com>wrote:

> In app/models/concerns/translatable.rb:
>
> >
> > -  def translate(from_lang, to_lang)
> > -    translator.translate(body, from: from_lang || detect_lang, to: to_lang) if can_translate? from_lang, to_lang
> > +  def translate(from_lang = author.primary_language, to_lang = I18n.locale.to_s)
>
> have you checked all the models this is being included into have an authorattribute/ method ?
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/loomio/loomio/pull/1281/files#r9571172>
> .
>