Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Dec 3, 2009
  1. @grimen

    Fixed the mysterious incorrect DOM name generated for select + belong…

    grimen authored committed
    …s_to. Closes #146.
Commits on Dec 2, 2009
  1. @lardawge

    Object delegation to human_attribute_name removed in favor of humaniz…

    lardawge authored committed
    …e. label_str_method now honored if provided and no label or i18n text present.
  2. @orangethunder

    Un-breaks the normal rails functionality of being able to specify a b…

    orangethunder authored committed
    …uilder per form
  3. @grimen

    Replacing dependency rspec_hpricot_matchers (Hpricot) with rspec_tag_…

    grimen authored committed
    …matchers (Nokogiri); specs runs faster, and rspec_hpricot_matchers was not really maintained anymore + Nokogiri is more live project. Also fixed generation of invalid DOM for radio_input/check_boxes input types. Closes #131.
  4. Added detection of group association method to use when grouping opti…

    Jacob Kjeldahl authored committed
    …ons for selects
Commits on Nov 30, 2009
  1. @grimen

    Added support for the :selected option for datetime/date/time input t…

    grimen authored committed
    …ypes. Specs and RDoc notes added as well.
  2. @grimen

    refactor: Make default_input_type way easier to understand, an less c…

    grimen authored committed
    …omparison expression checking the same thing over and over (as an implication).
  3. @grimen

    Smarter detection of enum type columns (usually saved in string/varch…

    grimen authored committed
    …ar fields); a select input will be the default if no :as option is set but :collection option is set. Closes #137.
  4. @grimen

    refactor: Making confusing code less confusing. =)

    grimen authored committed
  5. @grimen

    Got around the issue with date/time not being set to Time.now if no v…

    grimen authored committed
    …alue is set. All specs now pass. Closes #121.
  6. @grimen

    Implemented support for the :select option for radio input type. Spec…

    grimen authored committed
    …s and RDoc notes. Small refactoring to make code a bit more readable at the same time.
  7. @grimen

    Implemented *partial* support for the :selected option for time_zone …

    grimen authored committed
    …input. The Rails core time_zone-selector don't work like the other helpers: Only selects a specified value if there's no form object attribute set. Specs and RDoc notes included.
  8. @grimen

    A few more #:nodoc, and renaming a "mystic method" to more obvious na…

    grimen authored committed
    …me: set_options() => strip_formtastic_options().
  9. @grimen

    Adding #:nodoc: to the protected non-input type methods to make thing…

    grimen authored committed
    … more clear.
  10. @grimen

    Adding support for :selected option for boolean input type as well, w…

    grimen authored committed
    …ith specs and RDoc note. Also modified spec descriptions from last commit to make more sense (typos).
  11. @grimen

    Just for the eyes...intending protected methods to make it easier to …

    grimen authored committed
    …see which ones that are protected - instead of searching for "protected" every time. ;)
  12. @grimen

    Localized (I18n) titles now also works for inputs with the :for optio…

    grimen authored committed
    …n set (nested forms). Closes #135.
  13. @grimen

    Implementation of :selected-option (no, single, or multiple values) f…

    grimen authored committed
    …or select/check_boxes input types, to make it straightforward to specify which values that should be selected. Specs and RDoc notes as well.
  14. @grimen
  15. @grimen

    I18N_SCOPES => I18n::SCOPES

    grimen authored committed
  16. @grimen

    Removed redundant stuff with tiny refactoring, and adding a general I…

    grimen authored committed
    …18n lookup spec.
  17. @grimen

    This line bugged me for some time...and it seems it was a undetected …

    grimen authored committed
    …bug. The last call make no sense, so removed - we just been lucky this worked so far.
Commits on Nov 23, 2009
  1. @grimen

    Correcting the required_string-bug once again: I18n translation was n…

    grimen authored committed
    …ot working. Adding a spec this time. =)
Commits on Nov 22, 2009
  1. @grimen

    Using interned strings whenever possible and where it makes sense (St…

    grimen authored committed
    …ring => Symbol), and concat (<<) instead of appending (+). Closes #45.
  2. @grimen
Commits on Nov 21, 2009
  1. @grimen

    Label-issues:

    grimen authored committed
      * Inputs with legends as labels now got class "label" on the legend to make the styling of these much easier.
      * Inputs with legends as labels now wraps a label instead of a span, and the label is "connected" (with the "for" HTML attribute) to the first of the wrapped inputs - clicking label gives focus to this input. Reasons: Better form accessibility/usability, and is semantically more correct.
      * Removed: :as_span-option for the Formtastic label helper - not needed anymore.
    
    Closes #101.
  2. @grimen

    It's now possible to specify hidden input value using html_options[:v…

    grimen authored committed
    …alue] as well - for consistency, i.e. avoiding confusion.
  3. @grimen

    Fixing a Ruby 1.8 bug introduced in on of the previous commits. Specs…

    grimen authored committed
    … run and pass on 1.8, 1.9.1, and jruby.
  4. Revert "This reverts commit 440bd2d."

    authored
    This reverts commit e4fc2be.
Commits on Nov 18, 2009
  1. This reverts commit 440bd2d.

    authored
    This reverts commit 8eaa193.
    This reverts commit 8c20fb2.
    This reverts commit 3cad250.
    This reverts commit 269e530.
    This reverts commit e3c200a.
  2. @grimen

    Added support explicit values of type Range for the :collection optio…

    grimen authored committed
    …n of the select input, e.g. form.input :rating, :as => :select, :collection => 1..5. Added specs for both ranges, and explicit array values which was lacking. Closes #115.
  3. @grimen

    Comment for protected helper method added in previous commit, and mak…

    grimen authored committed
    …ing the only private method to protected for consistency.
  4. @grimen

    DRYer fieldset legends; check if first inputs block argument is a val…

    grimen authored committed
    …id legend - the options (:name/:title) way works still, and got higher priority. Closes #106.
  5. @grimen

    Added specs for boolean select/collection, and yes/no values back to …

    grimen authored committed
    …Symbols for convention - in a way that works this time.
Something went wrong with that request. Please try again.