Commit graph

11 commits

Author SHA1 Message Date
minskim
b49716b267 Update ruby-activerecord to 1.15.3.
Changes:
* Allow a polymorphic :source for has_many :through associations.
* Consistently quote primary key column names.
* Fixtures: fix YAML ordered map support.
* Fix has_many :through << with custom foreign keys.
2007-03-17 11:05:15 +00:00
minskim
8e63842cf9 Update ruby-activerecord to 1.15.2.
Changes:
* Pass a range in :conditions to use the SQL BETWEEN operator. #6974
  [dcmanges] Student.find(:all, :conditions => { :grade => 9..12 })
* Don't create instance writer methods for class attributes. [Rick]
* When dealing with SQLite3, use the table_info pragma helper, so that the
  bindings can do some translation for when sqlite3 breaks incompatibly
  between point releases. [Jamis Buck]
* SQLServer: don't choke on strings containing 'null'.  #7083 [Jakob S]
* Consistently use LOWER() for uniqueness validations (rather than mixing with
  UPPER()) so the database can always use a functional index on the lowercased
  column. #6495 [Si]
* MySQL: SET SQL_AUTO_IS_NULL=0 so 'where id is null' doesn't select the last
  inserted id. #6778 [Jonathan Viney, timc]
* Fixtures use the table name and connection from set_fixture_class. #7330
  [Anthony Eden]
* SQLServer: quote table name in indexes query.  #2928 [keithm@infused.org]
2007-02-18 23:12:52 +00:00
minskim
a3e27df24c Update ruby-activerecord to 1.15.1, required by rails-1.2.1.
Too many changes since 1.14.1.  See ${RUBY_DOCDIR}/activerecord/CHANGELOG.
2007-01-28 05:36:31 +00:00
minskim
a59f5b7328 Update ruby-activerecord to 1.14.4, which is used by Ruby on Rails 1.1.6.
Too many changes since 1.12.1.  See ${RUBY_DOCDIR}/activerecord/CHANGELOG
for the complete list.
2006-10-09 06:17:20 +00:00
taca
dccd827fac Stop handling DIST_SUBDIR default for Ruby based packages.
Second, update distinfo and/or stop using USE_RUBY_DIST_SUBDIR in Makefiles.
2006-01-03 14:25:49 +00:00
taca
fbc3274419 Change documentation directory to activerecord. 2005-11-02 15:00:40 +00:00
taca
2d6ced9afd Install example files, too. 2005-11-02 14:28:45 +00:00
taca
a8c6da1f66 Update ruby-activerecord pacakge to 1.12.1.
Changes are many please see ${RUBY_DOCDIR}/active_record/CHANGELOG.
2005-11-02 14:18:31 +00:00
taca
f3b284f7c9 Remove a line for patches/patch-aa. I forgot to remove with previous
commit.  Thanks to Matthew Luckie who notified me via private mail.
2005-09-06 03:16:45 +00:00
taca
b3cfdf4c7a Update ruby-activerecord to 1.11.1.
Changes from 1.9.1 are too huge, please see web page:
http://ar.rubyonrails.org/files/CHANGELOG.html.
2005-09-04 14:00:05 +00:00
minskim
470be5dd33 Import ruby-activerecord.
Active Record connects business objects and database tables to create
a persistable domain model where logic and data is presented in one
wrapping.  It is an implementation of the object-relational mapping
(ORM) pattern by the same name as described by Martin Fowler:

  "An object that wraps a row in a database table or view, encapsulates
   the database access, and adds domain logic on that data."

Active Records main contribution to the pattern is to relieve the
original of two stunting problems: lack of associations and
inheritance.  By adding a simple domain language-like set of macros to
describe the former and integrating the Single Table Inheritance
pattern for the latter, Active Record narrows the gap of functionality
between the data mapper and active record approach.
2005-04-10 04:45:59 +00:00