File tree Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 22## Rails v5.1
33
44* BIGINT PK support. https://github.com/rails/rails/pull/26266
5-
5+ * Raise ` ActiveRecord::NotNullViolation ` when a record cannot be inserted
6+ or updated because it would violate a not null constraint.
7+ * Raise ` ActiveRecord::RangeError ` when values that executed are out of range.
8+ * Allow passing extra flags to ` db:structure:load ` and ` db:structure:dump `
9+ Introduces ` ActiveRecord::Tasks::DatabaseTasks.structure_(load|dump)_flags ` to customize the
10+ eventual commands run against the database, e.g. mysqldump/pg_dump.
11+ * Set ` :time ` as a timezone aware type and remove deprecation when
12+ ` config.active_record.time_zone_aware_types ` is not explicitly set.
13+ * Remove deprecated support to passing a column to ` #quote ` .
14+ * ` #tables ` and ` #table_exists? ` return only tables and not views.
15+ All the deprecations on those methods were removed.
16+ * Remove deprecated ` original_exception ` argument in ` ActiveRecord::StatementInvalid#initialize `
17+ and ` ActiveRecord::StatementInvalid#original_exception ` .
18+ * Remove deprecated tasks: ` db:test:clone ` , ` db:test:clone_schema ` , ` db:test:clone_structure ` .
19+ * Make ` table_name= ` reset current statement cache,
20+ so queries are not run against the previous table name.
21+ * Deprecate ` supports_primary_key? ` on connection adapters since it's
22+ been long unused and unsupported.
23+ * Deprecate using ` #quoted_id ` in quoting.
24+ * Deprecate ` supports_migrations? ` on connection adapters.
Original file line number Diff line number Diff line change @@ -16,6 +16,6 @@ Gem::Specification.new do |spec|
1616 spec . executables = spec . files . grep ( %r{^bin/} ) { |f | File . basename ( f ) }
1717 spec . test_files = spec . files . grep ( %r{^(test|spec|features)/} )
1818 spec . require_paths = [ 'lib' ]
19- spec . add_dependency 'activerecord' , '~> 5.0.0 '
19+ spec . add_dependency 'activerecord' , '5.1.0.rc1 '
2020 spec . add_dependency 'tiny_tds'
2121end
You can’t perform that action at this time.
0 commit comments