Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Oct 21, 2009
  1. added in a (fake) formtastic_stylesheets generator which advises you …

    …to use generate/formtastic instead, since a Railscast screencast just got published with the old generator
  2. * updated the status to reflect that this is a release candidate

    * got rid of the wishlist mention from the README
Commits on Oct 20, 2009
Commits on Oct 19, 2009
Commits on Oct 18, 2009
  1. @jgdavey

    Use 'canonical' version of jeweler

    jgdavey authored committed
  2. @elandesign
Commits on Oct 16, 2009
Commits on Oct 15, 2009
Commits on Oct 14, 2009
  1. Reverting "rm'ing some encoding comments"

    This reverts commit 406dbb4.
  2. @josevalim

    Changed the locale example file so that 'yes' and 'no' are recognized

    Jeroen van Dijk authored josevalim committed
  3. :label_method and :value_method can now accept a Proc to call with th…

    …e collection objects (in addition to a symbol)
  4. ignore *watchr.rb files

  5. Support dynamically required fields

    Jeroen van Dijk authored committed
    Given the model below, all the 'foo' fields will be considered to be required while all the 'bar' fields not.
    class Model < ActiveRecord::Base
    	validates_presence_of :foo, :if => true
    	validates_presence_of :foo, :if => proc { |record| true }
    	validates_presence_of :foo, :if => :foo_required?
    	validates_presence_of :foo, :unless => false
    	validates_presence_of :foo, :unless => proc { |record| false }
    	validates_presence_of :foo, :unless => :bar_required?
    	validates_presence_of :bar, :if => false
    	validates_presence_of :bar, :if => proc { |record| false }
    	validates_presence_of :bar, :if => :bar_required?
    	validates_presence_of :bar, :unless => true
    	validates_presence_of :bar, :unless => proc { |record| true }
    	validates_presence_of :bar, :unless => :foo_required?
    	def foo_required?
    	def bar_required?
Commits on Oct 13, 2009
  1. @grimen

    Fixed I18n label bug: "boolean_input" (a.k.a. "check_box") should use…

    grimen authored committed
    … the default label method like all the other input types. (Issue #73)
Commits on Oct 12, 2009
  1. @grimen

    Better dependency loading for specs. Try to use Rails app defaults if…

    grimen authored committed
    … available (already loaded), otherwise require the gem as last resort.
  2. @grimen

    Ruby 1.9: Workaround for encoding issue causing specs to fail. Most p…

    grimen authored committed
    …robably because of how rspec_hpricot_matchers handles encodings.
  3. @grimen
Commits on Oct 11, 2009
  1. the installer just prompts to run the generator now, rather than dump…

    …ing the (giant) README to the screen
  2. Combined the "formtastic_config" and "formtastic_stylesheets" generat…

    …ors into one single "formtastic" generator that does both.
  3. Going back to generators instead of Rake tasks for copying stylesheet…

    …s and config files, because Rake tasks are not detected in Rails gem plugins (partially reverts 852751b).
    * nuked the stylesheets rake task in favor of the old generator
    * nuked the config rake task in favor of a new generator
    * updated gemspec to match new files
Commits on Oct 7, 2009
  1. Only use i18n date order if one exists.

    Tomas Jogin authored committed
Commits on Oct 3, 2009
  1. @l15n

    Use interpolation for I18n button text

    l15n authored committed
    Allows languages with different word orderings to use natural
    translations for commit button text.
  2. Valid label for="..." on radio buttons/check boxes

    Sandro Turriate and Tim Pope authored committed
    This generates the label's for attributes in the same way the input's id
    is generated inside Rails.
  3. failing spec for issue #57

  4. @grimen

    Aliasing :semantic_form_remote_for => :semantic_remote_form_for. No n…

    grimen authored committed
    …eed to declare same method two times - that is identical.
  5. @grimen

    Fixed issue where field_error_proc gets overridden globally - not any…

    grimen authored committed
    …more, only Formtastic. (But if wanted to set it globally, access Formtastic's field_error_proc with Formtastic::SemanticFormHelper::FIELD_ERROR_PROC and set it "the traditional way").
  6. @grimen

    Don't generate RDoc for: JustinFrench::Formtastic::SemanticFormBuilde…

    grimen authored committed
Something went wrong with that request. Please try again.