Permalink
Commits on May 26, 2010
  1. new gemspec

    committed May 26, 2010
  2. Reverting two i18n patches pulled in from the rails3 branch which are…

    … not compatible with Rails 2.3.x.
    
    Specs pass without deprecation warnings, and the relevant commits in Rails (13867a3 and 9bd91b0) seem to be in master, but not in the v2.3.8 branch.
    
    Revert "i18n fix: "The {{key}} interpolation syntax in I18n messages is deprecated. Please use %{key} instead.""
    This reverts commit .
    
    Revert "i18n fix II: "The {{key}} interpolation syntax in I18n messages is deprecated. Please use %{key} instead.""
    This reverts commit 49b45f6.
    committed May 26, 2010
Commits on May 24, 2010
  1. new gemspec

    committed May 24, 2010
  2. typo in CHANGELOG

    committed May 24, 2010
  3. Tweaked CHANGELOG to reflect only user-facing changes/fixes/additions…

    …, rather than internal implementation
    committed May 24, 2010
  4. Changelog catchup

    mjonuschat committed May 24, 2010
  5. i18n fix II: "The {{key}} interpolation syntax in I18n messages is de…

    …precated. Please use %{key} instead."
    HP committed with mjonuschat May 21, 2010
  6. i18n fix: "The {{key}} interpolation syntax in I18n messages is depre…

    …cated. Please use %{key} instead."
    HP committed with mjonuschat May 21, 2010
  7. Translations for nested models.

    tjtuom committed with mjonuschat May 23, 2010
  8. Fixed misprint

    cypok committed with mjonuschat May 17, 2010
  9. Refactored I18n handling in spec testsuite

    * Make use of I18n.backend.reload! to clear/reinitialize translation strings
    * Start with a minimal set of translation strings and add expected ones in the test
    * Reinitialize the translation backend after each test to start with a known state
    mjonuschat committed Apr 15, 2010
Commits on May 23, 2010
  1. Mark formtastic outputs as html_safe

    Formtastic::Util.html_safe() checks the available environment and marks a string as html_safe appropriately
    mjonuschat committed Apr 15, 2010
Commits on May 3, 2010
  1. An input without an :as option will only route to country_input if th…

    …e method name is /country$/ not /country/ (which is too greedy). Resolves #260
    committed May 3, 2010
Commits on May 2, 2010
Commits on Apr 28, 2010
Commits on Apr 26, 2010
  1. Merge branch 'v0.9.8'

    * v0.9.8:
      added test case for model that has 2 belongs_to fields pointing to same class one specifiying class_name in options
      test case
    gpetrica committed Apr 26, 2010
  2. added test case for model that has 2 belongs_to fields pointing to sa…

    …me class one specifiying class_name in options
    gpetrica committed Apr 26, 2010
  3. test case

    gpetrica committed Apr 26, 2010
Commits on Apr 24, 2010
Commits on Apr 22, 2010
  1. belongs_to associations will now render errors attached to the associ…

    …ation and the column (fixes issue #161)
    
    * previously f.input(:section) would only look to errors[:section]
    * so anything in errors[:section_id] would not be displayed
    * some associations like validates_uniqueness_of need to be done on the column name
    * Formtastic will now also look at errors[:section_id] (or whatever the foreign key is named)
    * we squish all the errors together, make sure they're unique and display them all with the input
    committed Apr 20, 2010
Commits on Apr 18, 2010
  1. CHANGELOG catchup

    committed Apr 18, 2010
  2. Changed the behaviour of date/time selects when the object attribute …

    …has a nil value.
    
    It used to default to Time.now, but since :selected is deprecated you can no longer overrise the Time.now to nil, so we must default to nil instead. Closes issue #240.
    committed Apr 18, 2010
Commits on Apr 12, 2010
  1. Reverting class_name additions for belongs_to associations in f26248f

    …and fe5db0d, as they seemed to optimise for a use case which isn't consistent with Rails' behaviour and most common use case.
    
    See issue 236 for more information, patch welcome that caters to both scenarios adequately.
    
    This reverts commit 6d6f08970f3f5599ee90071885a69d630 and 02a7f797378a2b7415c5ba82bc6007bfe.
    Revert "spec for 'class_name' option on 'belongs_to' associations"
    Revert "fix select input for 'has_many :foos, :class_name => 'FooBar'"
    committed Apr 12, 2010
Commits on Apr 11, 2010
Commits on Apr 8, 2010
Commits on Mar 31, 2010
  1. new gemspec

    committed Mar 31, 2010