pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases/ruby-activerecord3



Module Name:    pkgsrc
Committed By:   taca
Date:           Wed Feb  9 13:00:07 UTC 2011

Modified Files:
        pkgsrc/databases/ruby-activerecord3: Makefile PLIST distinfo

Log Message:
Update ruby-activerecord3 package to 3.0.4.

* More strict dependency reflect gemspec's description.

*Rails 3.0.4 (unreleased)*

* Added deprecation warning for has_and_belongs_to_many associations where the 
join table has
  additional attributes other than the keys. Access to these attributes is 
removed in 3.1.
  Please use has_many :through instead. [Jon Leighton]

*Rails 3.0.3 (November 16, 2010)*

* Support find by class like this: Post.where(:name => Post)

*Rails 3.0.2 (November 15, 2010)*

* Dramatic speed increase (see: 
http://engineering.attinteractive.com/2010/10/arel-two-point-ohhhhh-yaaaaaa/) 
[Aaron Patterson]

* reorder is deprecated in favor of except(:order).order(...) [Santiago 
Pastorino]

* except is now AR public API

    Model.order('name').except(:order).order('salary')

  generates:

    SELECT * FROM models ORDER BY salary

  [Santiago Pastorino]

* The following code:

    Model.limit(10).scoping { Model.count }

  now generates the following SQL:

    SELECT COUNT(*) FROM models LIMIT 10

  This may not return what you want.  Instead, you may with to do something
  like this:

    Model.limit(10).scoping { Model.all.size }

  [Aaron Patterson]


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/databases/ruby-activerecord3/Makefile \
    pkgsrc/databases/ruby-activerecord3/distinfo
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/databases/ruby-activerecord3/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index