Permalink
Commits on Jun 16, 2009
  1. bumped gem version to 0.2.1

    justinfrench committed Jun 16, 2009
Commits on May 31, 2009
  1. Just show blank option if neither include blank and prompt are sent a…

    josevalim committed May 31, 2009
    …s options, resolving issue #16.
  2. Does not singularize the association name on belongs_to or has_one as…

    josevalim committed May 31, 2009
    …sociations, resolving issue #17
Commits on May 30, 2009
  1. Bumping the gem to version 0.2.0:

    justinfrench committed May 30, 2009
    * select inputs have a blank option at the start of them by default now
    * a fix for Ruby 1.9 compatability
    * add lock_version to the list of columns that are skipped when automatically rendering an input for all fields in the table
    * commit_button now works with an options hash as the first arg, or with a string followed by an options hash
  2. skip columns named 'lock_version' when automatically rendering fields…

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

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

    Jakub Kuzma committed with justinfrench May 26, 2009
    …tead of to_s for Ruby 1.9
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:

    justinfrench committed May 16, 2009
    * 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
Commits on May 13, 2009
  1. copy/paste fail

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

    josevalim committed May 12, 2009
    … 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.
Commits on May 11, 2009
  1. Added :as => :country as a new input option (default for :string colu…

    justinfrench committed May 11, 2009
    …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).
Commits on May 10, 2009
  1. Changed the way hidden inputs are handled in date/time inputs.

    justinfrench committed May 10, 2009
    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.
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

    justinfrench 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…

    josevalim committed with justinfrench Apr 21, 2009
    …gument.
    
    Signed-off-by: Justin French <justin@indent.com.au>
Commits on Apr 19, 2009
  1. Float all buttons instead of top align

    Greg Fitzgerald committed with justinfrench Apr 19, 2009
    Signed-off-by: Greg Fitzgerald <netzdamon@gmail.com>
    
    Signed-off-by: Justin French <justin@indent.com.au>
  2. whitespace fix in README

    justinfrench committed Apr 19, 2009
  3. small README typo

    justinfrench committed Apr 19, 2009