Skip to content
Commits on Jan 23, 2010
  1. this version allows nice sorting without superfluous stupid associati…

    committed Jan 23, 2010
    …ons. tests included.
Commits on Jan 11, 2010
  1. there was no good way to get the locale list. it has to be defined in…

    committed Jan 11, 2010
    … model (or its superclass) now
  2. @hukl

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

    hukl committed Jan 11, 2010
    …ther argument error if a block is supplied
  3. @hukl
Commits on Jan 9, 2010
  1. corrected lambda

    committed Jan 9, 2010
  2. sorting scopes

    committed Jan 9, 2010
  3. corrected jeweler gem complaint

    committed Jan 9, 2010
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 committed Dec 26, 2009
    …tiveRecord::Base.with_locale and make ActiveRecord::Base#attributes= accept a virtual :locale attribute.
  5. @svenfuchs

    style nazi hits

    svenfuchs committed Dec 26, 2009
  6. @svenfuchs

    update readme

    svenfuchs committed Dec 25, 2009
  7. @svenfuchs
  8. @svenfuchs

    bump to 0.2.0

    svenfuchs committed Dec 25, 2009
  9. @svenfuchs

    named scope #with_translations

    svenfuchs committed Dec 25, 2009
  10. @svenfuchs
  11. @svenfuchs

    update init.rb

    svenfuchs committed Dec 15, 2009
  12. @svenfuchs

    clean a few things up

    svenfuchs committed Dec 14, 2009
  13. @svenfuchs

    add .DS_Store to gitignore

    svenfuchs committed Dec 14, 2009
  14. @svenfuchs
  15. @svenfuchs

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

    svenfuchs committed Nov 15, 2009
    …t have been duplicated in I18n. Only model translations related features will remain in Globalize2.
  16. @svenfuchs

    prepare tagging v0.1.1

    svenfuchs committed Dec 26, 2009
  17. @svenfuchs
Commits on Nov 14, 2009
  1. @svenfuchs

    whitespace

    svenfuchs committed Nov 14, 2009
Commits on Nov 8, 2009
  1. @svenfuchs
  2. @svenfuchs

    prepare gemcutter release

    svenfuchs committed Nov 8, 2009
  3. @svenfuchs

    Version bump to 0.0.0

    svenfuchs committed Nov 8, 2009
  4. @phuesler @svenfuchs

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

    phuesler committed with svenfuchs Oct 10, 2009
    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 committed with svenfuchs Oct 4, 2009
    …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 committed with svenfuchs Sep 22, 2009
    * 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 committed with svenfuchs Sep 22, 2009
    …e_proxy.table_name instead of evaluating it.
Something went wrong with that request. Please try again.