Commit Graph

  • 038a29682e import_many, import_*: returns last_inserted_id master Denis Knauf 2013-01-03 17:07:10 +0100
  • 1c675d7c31 Merge branch 'michael-groble_master' Zach Dennis 2012-12-14 10:29:46 -0500
  • 6697e2b4db Ensuring that the geo spatial adapters are successfully wired up and working with base import functionality. Zach Dennis 2012-12-14 10:29:04 -0500
  • eec20355e5 support rgeo spatial database adapter names michael groble 2012-02-25 09:36:43 -0600
  • 5f0e220038 Merge branch 'dougo_clear-new-record-on-synchronize' Zach Dennis 2012-12-14 10:03:51 -0500
  • d0c1055b65 Fix example in doc comment. Doug Orleans 2012-09-03 02:40:51 -0400
  • 9fd19a36bd Also clear the destroyed flag after synchronizing. Doug Orleans 2012-09-03 02:32:49 -0400
  • 413e35fedd Add failing test for destroyed records. Doug Orleans 2012-09-03 02:29:42 -0400
  • 31ff20a332 Fix failing test - clear @new_record on synchronize. Doug Orleans 2012-09-03 02:24:00 -0400
  • 58cac8bfb0 Test that no records are new after synchronize, not all. Doug Orleans 2012-09-03 02:15:56 -0400
  • 082a95df0e Merge branch 'sishen_master' Zach Dennis 2012-12-14 09:51:29 -0500
  • 1ae5122642 Performance improvements. Dingding Ye 2012-12-14 09:45:36 -0500
  • ec2059e802 assert_include => assert_includes Zach Dennis 2012-12-14 09:49:54 -0500
  • a4f17e6d45 Merge remote-tracking branch 'chewi/scope-awareness' Zach Dennis 2012-12-14 09:40:03 -0500
  • 394e0b51c3 Version bump to 0.2.11 Zach Dennis 2012-09-10 14:02:30 -0400
  • ee5604d4d5 Merge pull request #67 from mildmojo/fix_sqlite3_adapter_spelling Zach Dennis 2012-10-01 06:44:46 -0700
  • 43bd628e05 Fixes case-sensitive SQLite3 adapter name typos. mildmojo 2012-10-01 02:42:33 -0400
  • 22473145d1 Add scope-awareness feature James Le Cuirot 2012-09-20 15:15:21 +0100
  • a04a6a543f Version bump to 0.2.11 v0.2.11 Zach Dennis 2012-09-10 14:02:30 -0400
  • c08d31b528 Merge pull request #65 from jabley/missing-column Zach Dennis 2012-09-14 08:00:18 -0700
  • b03af0cd3e Provide more detailed error message James Abley 2012-09-14 14:01:00 +0100
  • 6182b944ef Merge pull request #56 from grzuy/support_all_or_none_records Zach Dennis 2012-08-29 20:48:18 -0700
  • 0b03543612 Merge pull request #58 from alexagranov/e6cafdb23a64e68a246a838565afaecf6faf952a Zach Dennis 2012-08-29 20:47:07 -0700
  • b4bc1466f1 Adding gemspec. To re-generate use: rake gemspec:generate Zach Dennis 2012-08-29 23:45:16 -0400
  • 75a63d77d1 Merge pull request #62 from spectator/seamless_database_pool Zach Dennis 2012-08-29 20:41:52 -0700
  • 0e14c5f643 Version bump to 0.2.10 v0.2.10 Zach Dennis 2012-08-06 09:26:16 -0400
  • 190fcd32ff Remove remain of ruby-debug-19 from Gemfile.lock Yury Velikanau 2012-08-22 19:51:47 -0700
  • 1d9b30cf83 Put together tests for seamless_database_pool adapter Yury Velikanau 2012-08-22 19:50:37 -0700
  • 23a07371dd Add seamless_database_pool gem Yury Velikanau 2012-08-22 19:49:48 -0700
  • 151c2f271f Gemfile.lock changes for debugger gem Yury Velikanau 2012-08-22 19:49:27 -0700
  • 7628e0a9d8 debugger gem supports ruby 1.9.3 just fine Yury Velikanau 2012-08-22 18:57:41 -0700
  • de048bb61e Remove whitespace. Yury Velikanau 2012-08-22 18:57:15 -0700
  • 9ee02d87ff fix file name Evan Petrie 2012-07-24 17:33:58 -0700
  • cc0185abb3 make work with seamless database pool Evan Petrie 2012-07-24 17:02:12 -0700
  • 2bb1150e00 Merge pull request #61 from benpickles/missing-column-error Zach Dennis 2012-08-20 05:53:45 -0700
  • f12d72b0b1 Raise a useful message when a value doesn't have a corresponding column. Ben Pickles 2012-08-16 20:22:49 +0100
  • a1a183e43d Updating Gemfile to latest versions of libraries: Zach Dennis 2012-08-06 09:24:34 -0400
  • b500ebe5a1 Updating tests around working with non-standard ActiveRecord models with non-sequence based primary keys. Zach Dennis 2012-08-06 09:23:01 -0400
  • 71a393d000 Merge pull request #60 from jluxenberg/master Zach Dennis 2012-08-06 06:10:43 -0700
  • e12f9c4951 Model#import fails to find model's primary key sequence Jared Luxenberg 2012-08-04 17:31:56 -0700
  • eac7d5f949 Adds support for :all_or_none option on #import Gonzalo Rodriguez 2012-05-03 00:20:41 -0300
  • f74bd2fbbd Merge pull request #51 from seamusabshere/patch-1 Zach Dennis 2012-05-03 17:09:20 -0700
  • b36259af29 Solving #50 - memoize MySQL's max_allowed_packet instead of querying it every time you run .import Seamus Abshere 2012-03-20 16:38:39 -0500
  • e6cafdb23a somehow the jdbcmysql_adapter was left out in the refactoring that removed usage of the InstanceMethods module Alex Agranov 2012-02-28 19:31:55 -0500
  • 3dc99c357d Merge pull request #46 from ebarendt/patch-1 Zach Dennis 2012-02-17 10:54:22 -0800
  • 8544641260 Update README.markdown Eric Barendt 2012-02-15 15:38:37 -0800
  • 41952485a4 Version bump to 0.2.9 v0.2.9 Zach Dennis 2012-01-20 17:50:58 -0500
  • b5c550860c Bumping sqlite3 dependency for development Zach Dennis 2012-01-20 17:50:27 -0500
  • a5a9928b26 Making activerecord dependency be require a version of activerecord 3.x. https://github.com/zdennis/activerecord-import/pull/43 Zach Dennis 2012-01-20 17:48:04 -0500
  • 7fa043cf31 Merge pull request #43 from duckpond/c9a4313f8ba5805bfcca314a5b93d4720130de10 Zach Dennis 2012-01-20 14:38:59 -0800
  • c9a4313f8b remove dependency on activerecord 3.0 Samantha John 2012-01-20 16:07:53 -0500
  • b2c71336ca Merge pull request #20 from Empact/drop_sum_sizes Zach Dennis 2012-01-06 15:47:53 -0800
  • 2539a71574 Merge pull request #38 from wycats/module_cleanup Zach Dennis 2012-01-03 06:20:48 -0800
  • b5261d0225 Clean up module usage. There's no need to use InstanceMethods -- normal Ruby modules and includes will work fine here. Yehuda Katz 2012-01-03 00:41:04 -0800
  • a41050c2b5 Merge pull request #33 from nbudin/master Zach Dennis 2011-12-14 15:23:58 -0800
  • 08c36d33e4 Use connection pool instead of actual connection to avoid having to connect to the database until necessary Nat Budin 2011-10-10 13:07:10 -0400
  • 8d20594f12 Replace #sum_sizes with calls to ActiveSupport #sum, as splatting large numbers of values is resource intensive andcan cause stack overflows of the sort 'SystemStackError: stack level too deep' Ben Woosley 2011-05-04 22:42:00 -0500
  • 3c08fad1a2 Bumping to 0.2.8 v0.2.8 Zach Dennis 2011-08-14 01:39:44 -0400
  • 65dbc9e051 Bumping VERSION to 0.2.8.rc3 v0.2.8.rc3 Zach Dennis 2011-07-12 23:43:18 -0400
  • 7cc7c33186 Merge pull request #27 from msgehard/fix_gemfile Zach Dennis 2011-07-12 20:39:00 -0700
  • 4653feab96 Relax pg version dependency a bit. The Gemfile specifies pg ~>0.9.0 and Rails 3.1 specifies pg 0.11 so there is no way for bundler to install pg for a new download. Mike Gehard 2011-07-12 19:04:53 -0600
  • ff0acfa433 Bumping VERSION to 0.2.8.rc2 v0.2.8.rc2 Zach Dennis 2011-06-22 22:53:33 -0400
  • 5a71efa2b4 Merge pull request #21 from jamiecobbett/master Zach Dennis 2011-06-22 19:51:29 -0700
  • 92ec1b478d Merge pull request #26 from fallwith/master Zach Dennis 2011-06-22 19:45:17 -0700
  • 449a11cd1c Updated Gemfile to include ~> 3.0pre so pre-releases are considered. v0.2.8.rc1 Zach Dennis 2011-06-22 22:32:21 -0400
  • 2cefff2219 Updating Gemfile to include activerecord ~> 3.0 instead of 3.0.0 so it works with 3.1. Zach Dennis 2011-06-22 22:17:06 -0400
  • 8f91eeb93d Regexp.escape which is called by Gem.loaded_path? (/usr/local/lib/ruby/site_ruby/1.9.1/rubygems.rb) expects the path as a String, not a Pathname. Convert Pathnames to Strings prior to calling 'require' fallwith 2011-06-22 16:01:33 -0700
  • 6555fd70ba Correctly obey MySQL MAX PACKET Jamie Cobbett 2011-05-08 21:35:47 +0000
  • 88e2ee034b Adding jdbcmysql support. Jason 2011-04-06 15:57:43 -0700
  • 5b3740e0f2 Updating import_test to be Ruby 1.9.2 compatible. Ruby 1.9.1 changed the Date.parse capabilities to no longer support MM/DD/YYYY functionality so we only test against YYYY/MM/DD. Zach Dennis 2011-05-04 19:55:46 -0400
  • e079e19a29 Version bump to 0.2.7 v0.2.7 Zach Dennis 2011-04-29 00:13:40 -0400
  • 5aefbb2989 Do not use ActiveRecord::Base.new(hsh) when instantiating AR models. Use form of instantiation that allows protected attributes to be set. Zach Dennis 2011-04-29 00:13:26 -0400
  • 71184b2903 Version bump to 0.2.6 v0.2.6 Zach Dennis 2011-04-06 14:42:56 -0400
  • 574ce5c76b Version bump to 0.3.0 Zach Dennis 2011-04-06 14:42:33 -0400
  • 89662a67c2 Updating documentation for synchronize. Zach Dennis 2011-04-06 14:41:42 -0400
  • 58b144b6bf Updating documentation for synchronizing unsaved/new instances with import. Zach Dennis 2011-04-06 14:23:13 -0400
  • 7958ed18c2 Added :synchronize_keys to the import options so importing can synchronize on fields beside the primary key. Zach Dennis 2011-04-06 14:20:53 -0400
  • e00e9d7d59 Adding in support for :synchronization option for #import. Pulled in from ar-extensions. Currently only works with MySQL since that is the only database that supports on duplicate key update functionality. Zach Dennis 2011-03-19 15:49:26 -0400
  • 319c52d80f Pulled in ActiveRecord synchronize functionality from the old ar-extensions code base. Zach Dennis 2011-03-19 15:38:24 -0400
  • 9e6866fd29 Turning off warnings because FactoryGirl spews out crap and it makes it impossible to see anything useful. Zach Dennis 2011-03-19 15:21:04 -0400
  • 32a2fe3bce Adding a test to ensure that specified ids are being saved when imported. Zach Dennis 2011-03-19 15:19:50 -0400
  • d901a7c60f Importing an empty array of objects/values should be supported Franck Verrot 2011-03-14 09:56:51 +0100
  • 2517770a38 Updating .gitignore with more entries Zach Dennis 2011-03-19 15:04:54 -0400
  • c77f0ffad3 Turning warnings on in rake test. Zach Dennis 2011-03-19 15:03:39 -0400
  • 0efb8f21e2 Updating gemfile to use spermy operator where appropriate. Zach Dennis 2011-03-19 15:03:27 -0400
  • 5218b384de Version bump to 0.2.5 v0.2.5 Zach Dennis 2011-01-11 21:02:07 -0500
  • cb6b726eac Ensure the #max_allowed_packet method exists for the MysqlAdapters. Zach Dennis 2011-01-11 21:01:34 -0500
  • 1175bafe0e Adding test file pattern to ensure connection adapter tests are included. Zach Dennis 2011-01-11 20:57:00 -0500
  • 161cf017f9 Renamed #values_sql_for_column_names_and_attributes to #values_sql_for_columns_and_attributes and cleaned up how it dealt with columns. Zach Dennis 2011-01-10 22:36:52 -0500
  • 1a8082444b Simplify validations_arry_for_column_names_and_attributes with map, each_with_index and Hash. Ben Woosley 2010-11-17 00:58:43 -0800
  • c9f246f4e2 Consolidate insert_sql between supports_import? cases so both make use of options[:ignore] Ben Woosley 2010-11-17 00:28:39 -0800
  • 9727a04362 Reinstate the deleting of the :validate option - not because it was causing trouble, but to be a bit paranoid (reverts 63d6faeccee14b6e571a25b6f51f340d5da325f5) Ben Woosley 2010-11-17 00:22:23 -0800
  • a3e9b4f040 Enable ImportSupport on Postgresql - the test suite now passes in full Ben Woosley 2010-11-17 00:20:00 -0800
  • 7bd0e2693a Fix that values_sql_for_attributes wasn't accessing the columns with the same indexes as the array_of_attributes, and so was sometime mismatched. Ben Woosley 2010-11-17 00:19:18 -0800
  • df75eea4db Go more direct in the columns lookup Ben Woosley 2010-11-17 00:09:24 -0800
  • 35786fef17 Codify import results in a Struct rather than OpenStruct, as it's a faster, more rigid structure Ben Woosley 2010-11-17 00:03:52 -0800
  • 876546c584 #dup array_of_attributes a bit earlier - there's no point in duping the primary_key nulls we might put in next Ben Woosley 2010-11-16 23:56:57 -0800
  • 899af1e412 No reason to pull :validate out of the options hash, and it's obfuscatory - remove. Ben Woosley 2010-11-16 23:55:19 -0800
  • 18012bbbca More simplicity, once again with #map Ben Woosley 2010-11-16 23:54:37 -0800
  • 3756e4f2b4 Refactor remaining supports_import? split to share code in values_sql_for_column_names_and_attributes. This means both with properly support sequences. Ben Woosley 2010-11-16 23:44:10 -0800