activerecord-import 0.3.1 16 Feb 2013
activerecord-import 0.3.1 has been released. Below are the main changes in the 0.3.0 and 0.3.1 releases.

0.3.1 Changes

  • Resolved an issue introduced in 0.3.0 where default_scope attributes were being included in generated INSERTs. This also resolves an issue where it was possible to have a column name specified twice.
  • SQLite’s ability to generate INSERT statements with multiple value sets is now supported if you are using SQLite 3.2.11 or higher. Otherwise, it will default to the earlier less performant version.

0.3.0 Changes

  • Rails 3.0.x is no longer supported as of 0.3.0. Please use 0.2.11 or upgrade your version of Rails.
  • imports are now scope-aware
  • performance improvements here and here
  • serialized columns are now supported
  • spatial database adapters are now supported: mysqlspatial, spatialite, postgis

More on scope-aware changes

Scope-aware changes which were added by James Le Cuirot (@chewi) provides the ability to call import on an association. For example:

blog comments powered by Disqus