Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jan 11, 2010
  1. @hukl

    added &block as 3rd method argument to make sure it doesn't raise ano…

    hukl authored
    …ther argument error if a block is supplied
  2. @hukl
Commits on Dec 26, 2009
  1. @svenfuchs
  2. @svenfuchs
  3. @svenfuchs
  4. @svenfuchs

    stop ActiveRecord::Base.locale from defaulting to I18n.locale, add Ac…

    svenfuchs authored
    …tiveRecord::Base.with_locale and make ActiveRecord::Base#attributes= accept a virtual :locale attribute.
  5. @svenfuchs

    style nazi hits

    svenfuchs authored
  6. @svenfuchs

    update readme

    svenfuchs authored
  7. @svenfuchs
  8. @svenfuchs

    bump to 0.2.0

    svenfuchs authored
  9. @svenfuchs
  10. @svenfuchs
  11. @svenfuchs

    update init.rb

    svenfuchs authored
  12. @svenfuchs

    clean a few things up

    svenfuchs authored
  13. @svenfuchs

    add .DS_Store to gitignore

    svenfuchs authored
  14. @svenfuchs
  15. @svenfuchs

    Big refactoring towards version 0.2.0. Stripping off all features tha…

    svenfuchs authored
    …t have been duplicated in I18n. Only model translations related features will remain in Globalize2.
  16. @svenfuchs

    prepare tagging v0.1.1

    svenfuchs authored
  17. @svenfuchs
Commits on Nov 14, 2009
  1. @svenfuchs

    whitespace

    svenfuchs authored
Commits on Nov 8, 2009
  1. @svenfuchs
  2. @svenfuchs

    prepare gemcutter release

    svenfuchs authored
  3. @svenfuchs

    Version bump to 0.0.0

    svenfuchs authored
  4. @phuesler @svenfuchs

    added unit test to reproduce error when rails config.cache_classes is

    phuesler authored svenfuchs committed
    set to false. This is the case in development mode.
    
    The problem occurs,when the proxy class (e.g TagTranslation) exists already
    when gloablize wants to create it.
  5. @phuesler @svenfuchs

    Check for the existence of the proxy class because it might exist al…

    phuesler authored svenfuchs committed
    …ready.
    
     Due to rails lazy class loading using const_missing I try to load the proxy class,
     if that fails I create a new one. After that, append the globalize methods to the
     class.
    
     I did not find a way to reproduce this error with a unit test. So here is how
     you can reproduce this:
    
     1. Have a model that needs translation (e.g Tag)
     2. Create a TagTranslation model and add a custom method to it (e.g slugname)
     3. ruby script/console
     4. Tag.new (Tag class is loaded and proxy class is being created)
     5. TagTranslation.new.respond_to?(:slugname) => false but should be true
  6. @svenfuchs

    backport changes from adva_cms

    Clemens Kofler and Sven Fuchs authored svenfuchs committed
    * fix issue with active_support/dependencies class reloading
    * do not raise an exception on missing translations in static backend (dubious change)
    * add a clear_cache method, only clear the cache on reload (i.e. keep the stash) (dubious change)
    * add a translated_attributes method
  7. @svenfuchs

    allow to set_translation_table_name on client model. use the globaliz…

    Clemens Kofler and Sven Fuchs authored svenfuchs committed
    …e_proxy.table_name instead of evaluating it.
Commits on Oct 6, 2009
  1. @hukl
  2. @hukl

    applied elsifaka's globalize2 patches for ultra long table names. did…

    hukl authored
    … not pull because I rewrote the tests quite a bit so its more readable.
  3. @hukl

    applying patch http://gist.github.com/107265 to fix issue with form b…

    oliver authored hukl committed
    …uilder not showing translated field values. http://github.com/joshmh/globalize2/issues/#issue/2
Commits on Sep 14, 2009
  1. use underscores instead of slashes for table names

    Clemens Kofler and Sven Fuchs authored
  2. hash long index names on translation tables

    Clemens Kofler and Sven Fuchs authored
  3. stop globalize2 from raising an exception when untranslated fields ar…

    Clemens Kofler and Sven Fuchs authored
    …e handed to create_translation_table!
  4. fix #translate to work with namespaced models

    Clemens Kofler and Sven Fuchs authored
  5. let's have a test/all script

    Clemens Kofler and Sven Fuchs authored
Something went wrong with that request. Please try again.