1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib/active_record
Yves Senn 8fa8b7124b ActiveRecord::SchemaMigration has no primary key.
Before this patch, using `ActiveRecord::Base.primary_key_prefix_type`
with `:table_name_with_underscore` would change the `SchemaMigration` model
to have a primary key. This resulted in broken queries for PG because it tried
to return the inserted PK (which does not exist).

Closes #15051.
Closes #15419.
2014-06-06 15:53:33 +02:00
..
associations Use null column for association key types 2014-06-04 06:26:03 -06:00
attribute_methods Return a null column when no column exists for an attribute 2014-06-03 09:33:46 -06:00
coders
connection_adapters Merge pull request #15503 from sgrif/sg-json-hstore-storage 2014-06-06 14:11:54 +02:00
fixture_set
locale
locking Rename attribute related instance variables to better express intent 2014-05-30 09:05:18 -07:00
migration
railties bin/rake db:migrate:status works with legacy migration numbers. 2014-06-06 12:16:48 +02:00
relation reuse available belongs_to? method 2014-06-03 21:56:09 -04:00
scoping Revert "Merge pull request #14544 from jefflai2/named_scope_sti" 2014-05-21 12:15:57 -03:00
serializers Refactor XML serializer to not depend on serialized_attributes 2014-06-01 12:01:29 -06:00
tasks use YAML.load_file in database tasks example 2014-04-15 13:22:32 +01:00
type serialized Type should delegate type_cast_for_write to underlying Type 2014-06-06 15:08:28 +02:00
validations Remove most code related to serialized properties 2014-06-01 11:33:58 -06:00
aggregations.rb Use destructured arguments when looping through pairs 2014-05-17 14:50:24 -06:00
association_relation.rb The Association Relation should use empty? and size from Relation. 2014-04-14 22:00:21 -03:00
associations.rb Refactoring .reflections public method. 2014-05-26 17:05:21 -04:00
attribute_assignment.rb Merge branch 'master' of github.com:rails/docrails 2014-06-01 11:46:37 +00:00
attribute_methods.rb have an actual NullColumn object and update docs accordingly. 2014-06-04 22:22:45 +02:00
autosave_association.rb Fix redefine a has_and_belongs_to_many inside inherited class 2014-05-27 00:23:33 -04:00
base.rb Add a public API to allow users to specify column types 2014-05-26 15:26:38 -07:00
callbacks.rb
connection_handling.rb Don't deprecate after all 2014-04-09 00:58:44 +09:30
core.rb Bring type casting behavior of hstore/json in line with serialized 2014-06-04 06:43:30 -06:00
counter_cache.rb Refactoring .reflections public method. 2014-05-26 17:05:21 -04:00
dynamic_matchers.rb
enum.rb Documentation, add examples of using an Enum scope 2014-05-09 21:46:22 +01:00
errors.rb Formatting of content from b1db615 [ci skip] 2014-05-28 10:43:05 -07:00
explain.rb
explain_registry.rb
explain_subscriber.rb
fixtures.rb fix polymorphic? method and reuse it 2014-06-02 23:01:59 -04:00
gem_version.rb
inheritance.rb
integration.rb
log_subscriber.rb Invert the if/else clause 2014-05-04 18:21:36 -03:00
migration.rb bin/rake db:migrate:status works with legacy migration numbers. 2014-06-06 12:16:48 +02:00
model_schema.rb Keep column defaults in type cast form 2014-06-03 10:27:38 -06:00
nested_attributes.rb Move types to the top level ActiveRecord namespace 2014-05-27 19:44:29 -07:00
no_touching.rb
null_relation.rb Fixed a problem where sum, size, average, minimum and maximum used 2014-05-15 00:49:29 +05:30
persistence.rb Bring type casting behavior of hstore/json in line with serialized 2014-06-04 06:43:30 -06:00
properties.rb Keep column defaults in type cast form 2014-06-03 10:27:38 -06:00
query_cache.rb
querying.rb Result sets never override a model's column type 2014-05-29 07:13:53 -07:00
railtie.rb Clarify 'database does not exist' message and implementation. 2014-04-01 16:49:52 -05:00
readonly_attributes.rb
reflection.rb fix polymorphic? method and reuse it 2014-06-02 23:01:59 -04:00
relation.rb Merge pull request #14971 from versioncontrol/#14785 2014-06-06 08:56:29 +02:00
result.rb Rename attribute related instance variables to better express intent 2014-05-30 09:05:18 -07:00
runtime_registry.rb
sanitization.rb Merge branch 'master' into adequaterecord 2014-04-20 12:38:33 -07:00
schema.rb
schema_dumper.rb
schema_migration.rb ActiveRecord::SchemaMigration has no primary key. 2014-06-06 15:53:33 +02:00
scoping.rb Revert "Merge pull request #14544 from jefflai2/named_scope_sti" 2014-05-21 12:15:57 -03:00
serialization.rb
statement_cache.rb use an array for bind params to simplify substitution 2014-04-12 18:40:29 -07:00
store.rb Fix inheritance of stored_attributes (fixes #14672) 2014-05-14 22:32:13 +09:30
timestamp.rb
transactions.rb Rename attribute related instance variables to better express intent 2014-05-30 09:05:18 -07:00
translation.rb
type.rb Refactor serialized types to be partially defined as custom properties 2014-05-29 12:12:44 -07:00
validations.rb ActiveRecord/ActiveModel '#validate' alias for 'valid?' 2014-03-27 17:56:14 +01:00
version.rb