Permalink
Commits on Jan 18, 2010
  1. quick fix for a spec that assumes Time.now.hour is a two digit number…

    …, better fix is to use Timecop or similar
    justinfrench committed Jan 18, 2010
  2. added currency select input

    liangzan committed with justinfrench Jan 17, 2010
  3. clean up date_or_datetime_input

    adzap committed with justinfrench Jan 17, 2010
  4. :datetime, :date and :time selects now support a :default option in f…

    …avour of a deprecated :selected option (issue #152):
    
    * if the object has a value, we should pre-select that at all times, ignoring the :default option
    * if the object has no value, and :default is provided as a Date/Time then :default should be pre-selected
    * if the object has no value, and :default is provided as nil then no option should be pre-selected (it will default to the first)
    * if the object has no value, and :default is not provided then fallback to Time.now (or perhaps a configurable default)
    * :selected invokes a deprecation warning, but is an alias of :default
    * it's not a real deprecation, as the behaviour has changed with all the bugs and half-fixes
    justinfrench committed Jan 8, 2010
  5. Added a Formtastic::LayoutHelper with formtastic_stylesheets so that …

    …we can make it easier for people to upgrade when/if we add in new stylesheets (like an IE-only stylesheet, for example).
    justinfrench committed Jan 10, 2010
Commits on Jan 12, 2010
  1. exisiting -> existing

    Carl Douglas committed with justinfrench Jan 12, 2010
Commits on Jan 9, 2010
  1. generated config file is now called formtastic_config.rb rather than …

    …just formtastic.rb, although it really doesn't matter what it's called
    justinfrench committed Jan 9, 2010
Commits on Jan 7, 2010
Commits on Jan 6, 2010
  1. fixed semantic errors spec

    morgoth committed with justinfrench Jan 5, 2010
Commits on Jan 3, 2010
  1. Fix for commit button text bug in issue #153:

    Work around bug in Rails 2.x in which TicketRequest.human_name returns "Ticketrequest" instead of "Ticket request".  Will revisit to check if it's addressed in Rails 3 at a later date.
    justinfrench committed Jan 3, 2010
Commits on Jan 2, 2010
Commits on Jan 1, 2010
  1. updated heading in README

    justinfrench committed Jan 1, 2010
  2. Fixing issue with Searchlogic-form-objects causing Formtastic to blow…

    … up. Now works in my test-project - confusing to spec this one just for a certain plugin. Closing #155.
    grimen committed with justinfrench Dec 17, 2009
  3. Form generator: |f| is a better default for |form|. Also works better…

    … with the bundle. Closing #151.
    grimen committed with justinfrench Dec 17, 2009
  4. * added semantic_errors method with specs

    * added basic CSS for semantic_errors and info in README
    Wojciech Wnętrzak committed with justinfrench Dec 3, 2009
  5. Added default row and column support for text area box

    Signed-off-by: TMaYaD <tmayad@loonyb.in>
    TMaYaD committed with justinfrench Dec 23, 2009
  6. Fix incorrect html class name being generated for namespaced objects.

    Broken: Namespaced::Post -> namespaced/post
    Fixed:  Namespaced::Post -> namespaced_post
    akaspick committed with justinfrench Dec 30, 2009
Commits on Dec 29, 2009
  1. Fix for issue #152 (date/time inputs could no longer default to nil):

    * added failing specs
    * changed date_or_datetime_input to only fallback to Time.now when options[:selected] is not present
    justinfrench committed Dec 29, 2009
Commits on Dec 3, 2009
  1. Fixed an issue where label_str_method not honored if set and object i…

    …s a activerecord object. Otherwise delegates to activerecord.
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
    lardawge committed with josevalim Dec 3, 2009
  2. new gemspec, again ;)

    justinfrench committed Dec 3, 2009
  3. Version bump to 0.9.7

    justinfrench committed Dec 3, 2009
  4. Revert "Updated documentation to reflect changes to label_string_meth…

    …od now being global not just for non-activerecord objects."
    
    This reverts commit 99cdf67.
    justinfrench committed Dec 3, 2009
  5. new version and gemspec

    justinfrench committed Dec 3, 2009
  6. Fix I18n functionality breakage. Revert "Object delegation to human_a…

    …ttribute_name removed in favor of humanize. label_str_method now honored if provided and no label or i18n text present."
    
    This reverts commit 863e3ff.
    
    Conflicts:
    
    	spec/input_spec.rb
    josevalim committed Dec 3, 2009
  7. Updated documentation to reflect changes to label_string_method now b…

    …eing global not just for non-activerecord objects.
    lardawge committed with justinfrench Dec 3, 2009