Commits on May 30, 2009
  1. skip columns named 'lock_version' when automatically rendering fields…

    … for all columns in the table (like we skip created_at, etc)
    committed May 30, 2009
Commits on May 27, 2009
  1. select inputs now include a 'blank' option at the top by default, dis…

    …able with :include_blank => false option (resolves issue #12)
    committed May 27, 2009
Commits on May 26, 2009
  1. Fixed field_set_and_list_wrapping_for_method to use explicit join ins…

    …tead of to_s for Ruby 1.9
    Jakub Kuzma committed with May 26, 2009
Commits on May 20, 2009
  1. Added :as => :hidden support.

    josevalim committed May 20, 2009
Commits on May 17, 2009
Commits on May 16, 2009
  1. Bumped gem version to 0.1.8, which includes three major changes:

    * new check boxes input (:as => :check_boxes) as an alternative to the default multi-select for has_many and habtm associations
    * new country input (:as => :country), a wrapper around any plugin that provides a country_select helper with the ame API as the "official" Rails plugin
    * a bug fix where hidden inputs were being added as child elements of an ordered list <ol>, which is obviously poorly formed markup
    committed May 16, 2009
Commits on May 13, 2009
  1. copy/paste fail

    committed May 12, 2009
Commits on May 12, 2009
  1. Check boxes now return an array, but it still generate hidden fields.…

    … The hidden fields are required to use Rails internal logic to mark the checkbox as checked or not which is better then reproducing the logic on our own. By default hidden fields return blank, which is automatically ignored by association_ids.
    josevalim committed May 12, 2009
Commits on May 11, 2009
  1. Added :as => :country as a new input option (default for :string colu…

    …mns with names matching /country/).
    Rails doesn't come with a country_select helper by default any more, so you'll need to install the "official" plugin, or any other country_select plugin you wish that behaves in the same way.
    A default set of "priority countries" is always included, and can be configured (see README).
    committed May 11, 2009
Commits on May 10, 2009
  1. Changed the way hidden inputs are handled in date/time inputs.

    Previously, we were rendering any hidden inputs inside the <ol>, which recently caused my specs to fail after a gem update (no idea which gem, it all passes for José and others).  It's probably poorly formed or invalid HTML anyway, so they've been moved outside the <ol> and surrounding <fieldset> for now, pending any better ideas.
    In the meantime, my specs pass.
    committed May 10, 2009
Commits on May 9, 2009
  1. Updated documentation.

    josevalim committed May 9, 2009
  2. Some specs refactoring.

    josevalim committed May 9, 2009
  3. Add checkbox support.

    josevalim committed May 9, 2009
Commits on Apr 28, 2009
Commits on Apr 22, 2009
  1. bumped gem version

    committed Apr 22, 2009
Commits on Apr 21, 2009
  1. Fix a bug when an error is raised if label is called with just one ar…

    Signed-off-by: Justin French <>
    josevalim committed with Apr 21, 2009
Commits on Apr 19, 2009
  1. Float all buttons instead of top align

    Signed-off-by: Greg Fitzgerald <>
    Signed-off-by: Justin French <>
    Greg Fitzgerald committed with Apr 19, 2009
  2. whitespace fix in README

    committed Apr 19, 2009
  3. small README typo

    committed Apr 19, 2009
  4. Make :label part of the public API.

    Signed-off-by: Justin French <>
    josevalim committed with Apr 18, 2009
  5. Added :time_zone input information to README.

    Signed-off-by: Justin French <>
    josevalim committed with Apr 18, 2009
Commits on Apr 18, 2009
  1. Added a new input method for timezone selects:

    <% semantic_form_for(@user) do |f| %>
      <%= f.input :timezone, :as => :time_zone %>
    <% end %>
    Merges the following commits by Ramon Soares and José Valim:
    Signed-off-by: Justin French <>
    ramon committed with Apr 12, 2009