Permalink
Switch branches/tags
Nothing to show
Commits on Oct 19, 2009
Commits on Aug 22, 2009
  1. Fixes bug in creation of schema.rb for decimals and Dates/Times colum…

    …ns that have default values.
    rjft197 committed with pdeffendol Aug 22, 2009
Commits on Aug 21, 2009
Commits on Jul 29, 2009
  1. updated readme with find_all_by_[column]

    Signed-off-by: Pete Deffendol <pete@mdsc.com>
    Simon Tokumine committed with pdeffendol Jul 27, 2009
Commits on Jul 21, 2009
  1. retake on fix for rails 2.3.3

    Signed-off-by: Pete Deffendol <pete@mdsc.com>
    sd committed with pdeffendol Jul 21, 2009
  2. fixed method implementation for Rails 2.3.3

    Signed-off-by: Pete Deffendol <pete@mdsc.com>
    sd committed with pdeffendol Jul 21, 2009
  3. fm - adding schema dumper support for scale and precision attributes …

    …used by the decimal data type
    
    Signed-off-by: Pete Deffendol <pete@mdsc.com>
    Felix Morio committed with pdeffendol Jun 30, 2009
Commits on Jun 24, 2009
  1. 'value' was interpolated in a string for attribute_condition call (AR

    2.3.2 part) This was a mistake, getting SQL like "column = NULL" instead
    of "column IS NULL".
    
    Signed-off-by: Pete Deffendol <pete@mdsc.com>
    Loïc Guitaut committed with pdeffendol Jun 24, 2009
Commits on Jun 1, 2009
  1. just call super when creating a non-spatial index so that you can avo…

    …id trying to keep up with the latest from AR. In my particular case, the old code was not quoting column names correctly, but AR does.
    
    Signed-off-by: Pete Deffendol <pete@mdsc.com>
    Aubrey Holland committed with pdeffendol May 27, 2009
Commits on Apr 23, 2009
  1. Added tests to cover the Rails 2.3 fail mode on attribute_condition c…

    …alled test_find_by_non_geom_column_condition in both postgis and mysql. Added
    
    the required fix to mysql adapter and changed the fix so that it doesn't depend on Rails 2.3 but will work for any AR version that
    uses 2 params for attribute_condition.
    
    The init.rb file has a comment to read if you want to run tests. Remember to change the database*.yml files.
    
    Still to be done;- make sure RAILS_ENV is available when we run tests.
    
    Signed-off-by: Pete Deffendol <pete@mdsc.com>
    JohnSmall committed with pdeffendol Apr 23, 2009
Commits on Apr 1, 2009
  1. Fixed for Rails 2.3

    pdeffendol committed Apr 1, 2009
Commits on Sep 18, 2008
  1. Whitespace

    pdeffendol committed May 5, 2008
  2. Fixed loading of Spatial Adapter when database doesn't yet exist

     * The condition in init.rb caused a database connection attempt to be made,
       and if the database wasn't yet created, execution failed
     * We'll look at the database.yml config to get the adapter instead
    pdeffendol committed May 5, 2008
Commits on Jun 26, 2008
  1. revert

    git-svn-id: http://georuby.rubyforge.org/svn/SpatialAdapter/trunk/spatial_adapter@119 7a115c08-5c0b-0410-86fa-965754e9f858
    Guilhem Vellut committed Jun 26, 2008
Commits on Jun 20, 2008
  1. patch Leo Soto M. : option not to use the AddGeometryColumn and Remov…

    …eGeometryColumn from PostGIS but use the usual alter table stuff from postgresql
    
    git-svn-id: http://georuby.rubyforge.org/svn/SpatialAdapter/trunk/spatial_adapter@117 7a115c08-5c0b-0410-86fa-965754e9f858
    Guilhem Vellut committed Jun 20, 2008
Commits on May 17, 2008
Commits on Apr 8, 2008
  1. modif for views : no need anymore to add the column from the view to …

    …the geometry_columns table. when a geometry column for which there is no entry in geometry_columns is encountered (as is the case for views), some fields of the spatialcolumn structure are left blank (srid, with_m,with_z) and the actual geometry type of the column is assumed to be geometry (most general type).
    
    git-svn-id: http://georuby.rubyforge.org/svn/SpatialAdapter/trunk/spatial_adapter@115 7a115c08-5c0b-0410-86fa-965754e9f858
    Guilhem Vellut committed Apr 8, 2008
Commits on Apr 7, 2008
  1. support for view with geometris (kind of...) + see test (gives import…

    …nat example of use)
    
    git-svn-id: http://georuby.rubyforge.org/svn/SpatialAdapter/trunk/spatial_adapter@114 7a115c08-5c0b-0410-86fa-965754e9f858
    Guilhem Vellut committed Apr 7, 2008
Commits on Mar 8, 2008
  1. fix for mysql fixture for yaml (reported by Kyusik Chung)

    git-svn-id: http://georuby.rubyforge.org/svn/SpatialAdapter/trunk/spatial_adapter@113 7a115c08-5c0b-0410-86fa-965754e9f858
    Guilhem Vellut committed Mar 8, 2008
Commits on Mar 2, 2008
  1. preparing for gem release

    git-svn-id: http://georuby.rubyforge.org/svn/SpatialAdapter/trunk/spatial_adapter@111 7a115c08-5c0b-0410-86fa-965754e9f858
    Guilhem Vellut committed Mar 2, 2008
Commits on Mar 1, 2008
  1. Fixed loading of default data for a column in PostGresql for Rails > …

    …2.0.0
    
    git-svn-id: http://georuby.rubyforge.org/svn/SpatialAdapter/trunk/spatial_adapter@109 7a115c08-5c0b-0410-86fa-965754e9f858
    Andrew Turner committed Mar 1, 2008
Commits on Feb 19, 2008
  1. some more modif to test_teresa

    git-svn-id: http://georuby.rubyforge.org/svn/SpatialAdapter/trunk/spatial_adapter@108 7a115c08-5c0b-0410-86fa-965754e9f858
    Guilhem Vellut committed Feb 19, 2008
  2. added test teresa

    git-svn-id: http://georuby.rubyforge.org/svn/SpatialAdapter/trunk/spatial_adapter@107 7a115c08-5c0b-0410-86fa-965754e9f858
    Guilhem Vellut committed Feb 19, 2008
Commits on Feb 5, 2008
Commits on Feb 1, 2008
  1. Applying all the remaining patch from vit ondruch, tilmann singer and…

    … pete deffendol. hsould work ok with rails 2 now
    
    git-svn-id: http://georuby.rubyforge.org/svn/SpatialAdapter/trunk/spatial_adapter@105 7a115c08-5c0b-0410-86fa-965754e9f858
    Guilhem Vellut committed Feb 1, 2008
  2. osme fix for postgis and rails2

    git-svn-id: http://georuby.rubyforge.org/svn/SpatialAdapter/trunk/spatial_adapter@104 7a115c08-5c0b-0410-86fa-965754e9f858
    Guilhem Vellut committed Feb 1, 2008