Skip to content
Commits on Jun 23, 2011
  1. Bumping VERSION to 0.2.8.rc2

    committed
  2. Merge pull request #21 from jamiecobbett/master

    committed
    Fix import of very large datasets containing multibyte chars on Ruby 1.9
  3. Merge pull request #26 from fallwith/master

    committed
    Ruby 1.9.2 / RubyGems 1.8.5 compatibility fix (pass String instead of Pathname to require)
  4. Updating Gemfile to include activerecord ~> 3.0 instead of 3.0.0 so i…

    committed
    …t works with 3.1.
    
    [fixes #24]
Commits on Jun 22, 2011
  1. @fallwith

    Regexp.escape which is called by Gem.loaded_path? (/usr/local/lib/rub…

    fallwith committed
    …y/site_ruby/1.9.1/rubygems.rb) expects the path as a String, not a Pathname. Convert Pathnames to Strings prior to calling 'require'
Commits on May 8, 2011
  1. Correctly obey MySQL MAX PACKET

    Jamie Cobbett committed
    Use String's bytesize instead of size, because we're talking about byte length,
    not string length. This resolves a problem on Ruby 1.9 with multi-byte
    characters.
Commits on May 5, 2011
  1. Adding jdbcmysql support.

    Jason committed with
Commits on May 4, 2011
  1. Updating import_test to be Ruby 1.9.2 compatible. Ruby 1.9.1 changed …

    committed
    …the Date.parse capabilities to no longer support MM/DD/YYYY functionality so we only test against YYYY/MM/DD.
    
    [fixes #19]
Commits on Apr 29, 2011
  1. Version bump to 0.2.7

    committed
  2. Do not use ActiveRecord::Base.new(hsh) when instantiating AR models. …

    committed
    …Use form of instantiation that allows protected attributes to be set.
Commits on Apr 6, 2011
  1. Version bump to 0.2.6

    committed
  2. Version bump to 0.3.0

    committed
  3. Added :synchronize_keys to the import options so importing can synchr…

    committed
    …onize on fields beside the primary key.
    
    #16
Commits on Mar 19, 2011
  1. Adding in support for :synchronization option for #import. Pulled in …

    committed
    …from ar-extensions. Currently only works with MySQL since that is the only database that supports on duplicate key update functionality.
    
    https://github.com/zdennis/activerecord-import/issues#issue/6
  2. Turning off warnings because FactoryGirl spews out crap and it makes …

    committed
    …it impossible to see anything useful.
  3. @franckverrot
Commits on Jan 12, 2011
  1. Version bump to 0.2.5

    committed
Commits on Jan 11, 2011
  1. Renamed #values_sql_for_column_names_and_attributes to #values_sql_fo…

    committed
    …r_columns_and_attributes and cleaned up how it dealt with columns.
    
    * added back in the support for type-casting based on the database column
    * removed unused method in ActiveRecord::Import::AbstractAdapter
    
    https://github.com/zdennis/activerecord-import/issues#issue/5
  2. @Empact

    Simplify validations_arry_for_column_names_and_attributes with map, e…

    Empact committed with
    …ach_with_index and Hash.
    
    Hash[column_names.zip(attributes)] would be much clearer, but would leave nil values for missing attributes which doesn't match the existing behavior.
  3. @Empact
  4. @Empact

    Reinstate the deleting of the :validate option - not because it was c…

    Empact committed with
    …ausing trouble, but to be a bit paranoid (reverts 63d6fae)
  5. @Empact
  6. @Empact

    Fix that values_sql_for_attributes wasn't accessing the columns with …

    Empact committed with
    …the same indexes as the array_of_attributes, and so was sometime mismatched.
    
    Also return to the column_names[j] == primary_key style of testing, as the column itself is not always present
  7. @Empact
  8. @Empact

    Codify import results in a Struct rather than OpenStruct, as it's a f…

    Empact committed with
    …aster, more rigid structure
Something went wrong with that request. Please try again.