Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Mar 10, 2013
  1. Updated gemspec and version bump to 1.2.0

    authored
    Version numbers are now following DataMapper official versions.
  2. Updated Rakefile

    authored
  3. Improved README

    authored
  4. updated .gitignore

    authored
  5. Added Guardfile

    authored
  6. Added Gemfile

    authored
  7. Removed unwanted files

    authored
Commits on Jun 9, 2010
  1. DM 1.0.0 compatibility

    authored
  2. Version bump to 0.0.9

    authored
Commits on Jun 8, 2010
  1. Updated gemspec

    authored
  2. Version bump to 0.0.8

    authored
  3. Updated README

    authored
  4. Removed all forms of dependencies

    authored
    This was due to DM 1.0.0.rc3  issues seemingly.
Commits on May 20, 2010
  1. updated gemspec

    authored
  2. Version bump to 0.0.7

    authored
  3. [Fix] Remove requirement for 'dm-more' 


    authored
    Minor cleanups
Commits on Dec 20, 2009
  1. Bump version and updated spec

    authored
  2. Version bump to 0.0.6

    authored
  3. FIX: Now supports setting dynamic value field

    authored
    Just for those cases, when the value you want to collect and display is NOT the :id of the table, you can now define the field to use.
    
       is :select, :name, :value_field => :country_code 
    
    
    The results array would then be returned like this:
    
    	[:country_code, :name]
Commits on Oct 30, 2009
  1. Version bump to 0.0.5

    authored
  2. Version bump to 0.0.4

    authored
  3. Changed the output order [value, key] of the output options array.

    authored
    Prior to this change the following was output:
    
    ['Letter A', 1]
    ['Letter B', 2]
    
    After this change the order is reversed:
    
    [1, 'Letter A']
    [2, 'Letter B']
    
    This is a more logical order since the option tag is formatted like this:
    
    <option value="1">Letter A</option>
    
    GOTCHA!
    
    When iterating through the resultant output, just remember to reverse the order of your args like this:
    
    	Category.items_for_select_menu.each do |value, key|....
Commits on Aug 20, 2009
  1. Bump version

    authored
  2. Ignoring doc/ dir

    authored
  3. Version bump to 0.0.3

    authored
  4. Added support for custom SQL queries.

    authored
    Now respects this:
    
      Category.items_for_select_menu(:publish_status => "on", :order => [ :id.desc ] )
Something went wrong with that request. Please try again.