composite_primary_keys 3.1.8 → 3.1.9
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +16 -12
- data/Rakefile +2 -4
- data/lib/composite_primary_keys/version.rb +1 -1
- data/test/connections/native_mysql/connection.rb +1 -1
- data/test/connections/native_oracle/connection.rb +1 -1
- data/test/connections/native_oracle_enhanced/connection.rb +1 -1
- data/test/connections/native_postgresql/connection.rb +1 -1
- data/test/connections/native_sqlite/connection.rb +1 -1
- data/test/fixtures/article.rb +1 -1
- data/test/fixtures/comment.rb +0 -1
- data/test/fixtures/db_definitions/db2-create-tables.sql +4 -13
- data/test/fixtures/db_definitions/db2-drop-tables.sql +1 -1
- data/test/fixtures/db_definitions/mysql.sql +5 -13
- data/test/fixtures/db_definitions/oracle.drop.sql +1 -2
- data/test/fixtures/db_definitions/oracle.sql +4 -13
- data/test/fixtures/db_definitions/postgresql.sql +5 -13
- data/test/fixtures/db_definitions/sqlite.sql +4 -13
- data/test/fixtures/department.rb +1 -0
- data/test/fixtures/departments.yml +5 -1
- data/test/fixtures/employees.yml +12 -2
- data/test/fixtures/membership.rb +0 -2
- data/test/fixtures/product.rb +4 -2
- data/test/fixtures/restaurant.rb +4 -1
- data/test/fixtures/restaurants.yml +8 -1
- data/test/fixtures/tariff.rb +0 -1
- data/test/fixtures/tariffs.yml +2 -0
- data/test/test_associations.rb +6 -23
- data/test/test_attribute_methods.rb +5 -6
- data/test/test_delete.rb +35 -2
- data/test/test_habtm.rb +42 -0
- data/test/test_ids.rb +0 -8
- data/test/test_suite.rb +1 -0
- metadata +6 -23
- data/lib/composite_primary_keys/associations/association.rb +0 -23
- data/lib/composite_primary_keys/associations/association_scope.rb +0 -67
- data/lib/composite_primary_keys/associations/join_dependency/join_association.rb +0 -22
- data/lib/composite_primary_keys/associations/join_dependency/join_part.rb +0 -39
- data/lib/composite_primary_keys/associations/preloader/association.rb +0 -61
- data/lib/composite_primary_keys/associations/preloader/belongs_to.rb +0 -13
- data/lib/composite_primary_keys/associations/preloader/has_and_belongs_to_many.rb +0 -46
- data/lib/composite_primary_keys/attribute_methods/primary_key.rb +0 -19
- data/lib/composite_primary_keys/attribute_methods/read.rb +0 -88
- data/lib/composite_primary_keys/attribute_methods/write.rb +0 -40
- data/lib/composite_primary_keys/composite_predicates.rb +0 -44
- data/lib/composite_primary_keys/named_scope.rb +0 -29
- data/lib/composite_primary_keys/relation/finder_methods.rb +0 -119
- data/lib/composite_primary_keys/relation/query_methods.rb +0 -24
- data/test/fixtures/article_group.rb +0 -4
- data/test/fixtures/article_groups.yml +0 -7
- data/test/fixtures/kitchen_sink.rb +0 -3
- data/test/fixtures/kitchen_sinks.yml +0 -5
- data/test/fixtures/way_node.rb +0 -3
data/test/fixtures/way_node.rb
DELETED