Hi James, There is a bit I'd like to change on this.  Was wondering if you
could come in? I can't type much due to a cast on my arm. Would that be ok?


On Wed, Feb 12, 2014 at 11:30 AM, James Kiesel <notifications@github.com>wrote:

> In config/initializers/translatable.rb:
>
> > +
> > +        current_translations.as_json.reduce({}, :merge)
> > +      end
> > +
> > +      protected
> > +
> > +      def clear_translations
> > +        self.translations.each do |translation|
> > +          translation.destroy if self.send("#{translation.translatable_field}_changed?")
> > +        end
> > +      end
> > +
> > +      private
> > +
> > +      def translator
> > +        app_id = ENV.fetch('BING_TRANSLATE_APPID', nil)
>
> I think @s01us <https://github.com/s01us> was working on a global-type
> helper method for this fetch problem? [Maybe shooting off a warning when an
> expected ENV is nil?]
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/loomio/loomio/pull/1281/files#r9646864>
> .
>