Changelog for
ruby2.1-rubygem-activerecord-4_2-4.2.2-1.1.x86_64.rpm :
Tue Jan 26 13:00:00 2016 jmassaguerplaAATTsuse.com
- fix bnc#963334 - CVE-2016-0753: rubygem-activemodel,
rubygem-activesupport, rubygem-activerecord: Input Validation
Circumvention
CVE-2016-0753.patch: contains the fix
Tue Jan 26 13:00:00 2016 jmassaguerplaAATTsuse.com
- fix bnc#963330 - CVE-2015-7577: rubygem-activerecord: Nested
attributes rejection proc bypass
CVE-2015-7577.patch: contains the fix
Fri Jul 3 14:00:00 2015 jmassaguerplaAATTsuse.com
- update to version 4.2.2, no changes
(updated to match activesupport version)
(bnc#934799 and bnc#934800).
Mon Mar 23 13:00:00 2015 cooloAATTsuse.com
- updated to version 4.2.1
* Fixed ActiveRecord::Relation#becomes! and changed_attributes issues for type column
Fixes #17139.
* `remove_reference` with `foreign_key: true` removes the foreign key before
removing the column. This fixes a bug where it was not possible to remove
the column on MySQL.
Fixes #18664.
* Add a `:foreign_key` option to `references` and associated migration
methods. The model and migration generators now use this option, rather than
the `add_foreign_key` form.
* Fix rounding problem for PostgreSQL timestamp column.
If timestamp column have the precision, it need to format according to
the precision of timestamp column.
* Respect the database default charset for `schema_migrations` table.
The charset of `version` column in `schema_migrations` table is depend
on the database default charset and collation rather than the encoding
of the connection.
* Respect custom primary keys for associations when calling `Relation#where`
Fixes #18813.
* Fixed several edge cases which could result in a counter cache updating
twice or not updating at all for `has_many` and `has_many :through`.
Fixes #10865.
* Foreign keys added by migrations were given random, generated names. This
meant a different `structure.sql` would be generated every time a developer
ran migrations on their machine.
The generated part of foreign key names is now a hash of the table name and
column name, which is consistent every time you run the migration.
* Fixed ActiveRecord::Relation#group method when argument is SQL reserved key word:
SplitTest.group(:key).count
Property.group(:value).count
Mon Jan 19 13:00:00 2015 dmuellerAATTsuse.com
- update to 4.1.9:
* `db:schema:load` and `db:structure:load` no longer purge the database
before loading the schema. This is left for the user to do.
`db:test:prepare` will still purge the database.
* Bring back `db:test:prepare` to synchronize the test database schema.
* Renaming a table in pg also renames the primary key index.
* Make it possible to access fixtures excluded by a `default_scope`.
* `timestamps` and `add_timestamps` passes additional options along.
(like `null: false`)
* Cache `CollectionAssociation#reader` proxies separately before and after
the owner has been saved so that the proxy is not cached without the
owner\'s id.
* Fix preloading of associations which unscope a default scope.
* Do not use `RENAME INDEX` syntax for MariaDB 10.0.
* Allow included modules to override association methods.
* Schema loading rake tasks (like `db:schema:load` and `db:setup`) maintain
the database connection to the current environment.
* `db:purge` with MySQL respects `Rails.env`.
* Fixed automatic maintaining test schema to properly handle sql structure
schema format.
* Fix has_many :through relation merging failing when dynamic conditions are
passed as a lambda with an arity of one.
Mon Nov 10 13:00:00 2014 tboergerAATTsuse.com
- To get rails 4 running on SLE 11 i have switched the
rb_build_versions definition to rub21 as it is activated within
devel:languages:ruby. That way we can get running rails 4 on
SLE 11 too.
Sun Oct 12 14:00:00 2014 cooloAATTsuse.com
- updated to version 4.1.6, see CHANGELOG.md
Wed Jul 23 14:00:00 2014 mrueckertAATTsuse.com
- - initial package