summaryrefslogtreecommitdiff
path: root/databases/ruby-activerecord3
AgeCommit message (Collapse)AuthorFilesLines
2013-02-17Remove ruby-activerecord3.taca5-155/+0
It is part of Ruby on Rails 3.0 which isn't supported any more.
2013-02-13Correct comment in a patch file.taca2-3/+3
This change dosen't fix CVE-2013-0277 but give workaround for it. No PKGREVISION bump.
2013-02-12Add fix for Fix for CVE-2013-0277.taca1-0/+22
Bump PKGREVISION.
2013-02-12Add fix for CVE-2013-0276.taca1-1/+2
Bump PKGREVISION.
2013-02-12Add fix for Fix for CVE-2013-0277.taca1-1/+2
Bump PKGREVISION.
2013-01-29Update ruby-activerecord3 to 3.0.20.taca1-4/+4
No change except version.
2013-01-09Update ruby-activerecord3 to 3.0.19.taca1-4/+4
## Rails 3.0.19 * Fix querying with an empty hash *Damien Mathieu* [CVE-2013-0155]
2013-01-05Update ruby-activerecord3 to 3.0.18.taca1-4/+4
## Rails 3.0.18 * CVE-2012-5664 ensure that options are never taken from the first parameter.
2012-08-12Update ruby-activerecord3 to 3.0.17.taca1-4/+4
## Rails 3.0.17 (Aug 9, 2012) * Fix type_to_sql with text and limit on mysql/mysql2 (GH #7252)
2012-07-31Update ruby-activerecord3 to 3.0.16.taca1-4/+4
## Rails 3.0.16 (Jul 26, 2012) * No changes. ## Rails 3.0.14 (Jun 12, 2012) * protect against the nesting of hashes changing the table context in the next call to build_from_hash. This fix covers this case as well. CVE-2012-2695
2012-06-14Update ruby-activerecord3 to 3.0.14.taca2-5/+6
pkgsrc change: add RUBY_RAILS_STRICT_DEP which will be enabled later. ## Rails 3.0.14 (Jun 12, 2012) * protect against the nesting of hashes changing the table context in the next call to build_from_hash. This fix covers this case as well. CVE-2012-2695
2012-06-02Update ruby-activerecord3 to 3.0.13.taca1-4/+4
* Rails 3.0.13 (May 31, 2012) * Bugfix circular reference while saving has_one relationship * Test for circular reference while saving has_one relationship * Fixed typo in composed_of example with Money#<=> * predicate builder should not recurse for determining where columns. Thanks to Ben Murphy for reporting this! CVE-2012-2661
2012-03-18Update ruby-activerecord3 to 3.0.12.taca2-7/+6
pkgsrc change: * Tweak COMMENT. No changes except version.
2011-12-13* Switch to use RUBY_RAILS_SUPPORTED.taca1-6/+8
* Correct some dependency. Bump PKGREVISION.
2011-11-19Update ruby-activerecord3 pacakge to 3.0.11.taca1-4/+4
* Rails 3.0.11 (unreleased) * Exceptions from database adapters should not lose their backtrace. * Backport "ActiveRecord::Persistence#touch should not use default_scope" (GH #1519) * Psych errors with poor yaml formatting are proxied. Fixes GH #2645 and GH #2731 * Fix ActiveRecord#exists? when passsed a nil value
2011-08-17Update ruby-activerecord3 package to 3.0.10.taca2-5/+6
Rails 3.0.10 * Magic encoding comment added to schema.rb files * schema.rb is written as UTF-8 by default. * Ensuring an established connection when running `rake db:schema:dump` * Association conditions will not clobber join conditions. * Destroying a record will destroy the HABTM record before destroying itself. GH #402. * Make `ActiveRecord::Batches#find_each` to not return `self`. * Update `table_exists?` in PG to to always use current search_path or schema if explictly set.
2011-06-17Update ruby-rails3 related package to 3.0.9.taca1-4/+4
These are update of the version only.
2011-06-11Update ruby-activerecord3 pacakge to 3.0.8.taca2-8/+8
*Rails 3.0.8 (unreleased)* * Fix various problems with using :primary_key and :foreign_key options in conjunction with :through associations. [Jon Leighton] * Correctly handle inner joins on polymorphic relationships. * Fixed infinity and negative infinity cases in PG date columns. * Creating records with invalid associations via `create` or `save` will no longer raise exceptions.
2011-05-10Update ruby-activerecord3 package to 3.0.7.taca1-4/+4
*Rails 3.0.7 (April 18, 2011)* * Destroying records via nested attributes works independent of reject_if LH #6006 [Durran Jordan] * Delegate any? and many? to Model.scoped for consistency [Andrew White] * Quote the ORDER BY clause in batched finds - fixes #6620 [Andrew White] * Change exists? so records are not instantiated - fixes #6127. This prevents after_find and after_initialize callbacks being triggered when checking for record existence. [Andrew White] * Fix performance bug with attribute accessors which only occurred on Ruby 1.8.7, and ensure we cache type-casted values when the column returned from the db contains non-standard chars. [Jon Leighton] * Fix a performance regression introduced here 86acbf1cc050c8fa8c74a10c735e467fb6fd7df8 related to read_attribute method [Stian Gryt©Ìyr]
2011-04-06Update ruby-activerecord3 package to 3.0.6.taca1-4/+4
*Rails 3.0.6 (April 5, 2011) * Un-deprecate reorder method [Sebastian Martinez] * Extensions are applied when calling +except+ or +only+ on relations. Thanks to Iain Hecker. * Schemas set in set_table_name are respected by the mysql adapter. LH #5322 * Fixed a bug when empty? was called on a grouped Relation that wasn't loaded. LH #5829 * Reapply extensions when using except and only. Thanks Iain Hecker. * Binary data is escaped when being inserted to SQLite3 Databases. Thanks Naruse!
2011-03-23Update ruby-activerecord3 package to 3.0.5.taca2-8/+10
*Rails 3.0.5 (unreleased)* * Model.where(:column => 1).where(:column => 2) will always produce an AND query. [Aaron Patterson] * Deprecated support for interpolated association conditions in the form of :conditions => 'foo = #{bar}'. Instead, you should use a proc, like so: Before: has_many :things, :conditions => 'foo = #{bar}' After: has_many :things, :conditions => proc { "foo = #{bar}" } Inside the proc, 'self' is the object which is the owner of the association, unless you are eager loading the association, in which case 'self' is the class which the association is within. You can have any "normal" conditions inside the proc, so the following will work too: has_many :things, :conditions => proc { ["foo = ?", bar] } Previously :insert_sql and :delete_sql on has_and_belongs_to_many association allowed you to call 'record' to get the record being inserted or deleted. This is now passed as an argument to the proc. [Jon Leighton]
2011-02-09Update ruby-activerecord3 package to 3.0.4.taca3-11/+12
* 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]
2010-10-15Update databases/ruby-activerecord3 to 3.0.1.taca2-8/+8
This release fixes CVE-2010-3933 security problem and it is part of Rails 3.0.1.
2010-09-12Importing databases/ruby-activerecord3 3.0.0.taca4-0/+125
= Active Record -- Object-relational mapping put on rails Active Record connects classes to relational database tables to establish an almost zero-configuration persistence layer for applications. The library provides a base class that, when subclassed, sets up a mapping between the new class and an existing table in the database. In context of an application, these classes are commonly referred to as *models*. Models can also be connected to other models; this is done by defining *associations*. (This is part of Ruby on Rails 3.)