1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/fixtures
Cristian Bica 72d1663bc7 Fix query with nested array in Active Record
`User.where(id: [[1,2],3])` was equal to `User.where(id:[1, 2, 3])`
in Rails 4.1.x but because of some refactoring in Arel this stopped
working in 4.2.0. This fixes it in Rails.

[Dan Olson & Cristian Bica]
2014-09-06 23:46:32 +03:00
..
admin Fix backward compatibility with stored Hash values. Wrap coders to convert serialized values to indifferent access. 2012-05-30 23:21:57 -07:00
all load fixtures from linked folders 2013-08-05 16:35:49 -03:00
categories
naked
reserved_words Improve the derivation of HABTM assocation join table names 2012-06-22 06:27:11 +01:00
to_be_linked load fixtures from linked folders 2013-08-05 16:35:49 -03:00
.gitignore
accounts.yml
author_addresses.yml
author_favorites.yml
authors.yml
binaries.yml
books.yml Fixed serialization for records with an attribute named format. 2014-05-22 14:35:04 -07:00
cars.yml
categories.yml
categories_ordered.yml
categories_posts.yml
categorizations.yml
clubs.yml
collections.yml
colleges.yml
comments.yml
companies.yml Ensure AR #second, #third, etc. finders work through associations 2014-01-21 19:35:27 -05:00
computers.yml Fixed STI classes not defining an attribute method if there is a 2014-02-23 11:00:55 -08:00
courses.yml
customers.yml
dashboards.yml
developers.yml Fix query with nested array in Active Record 2014-09-06 23:46:32 +03:00
developers_projects.yml
dog_lovers.yml Update other counter caches on destroy 2013-03-20 13:43:07 -07:00
dogs.yml Update other counter caches on destroy 2013-03-20 13:43:07 -07:00
edges.yml
entrants.yml
essays.yml
faces.yml
fk_test_has_fk.yml
fk_test_has_pk.yml fk: use random digest names 2014-06-26 22:03:49 +02:00
friendships.yml Refactor Person/Friendship relationships to be more intuitive 2013-03-17 02:11:19 -04:00
funny_jokes.yml
interests.yml
items.yml
jobs.yml
legacy_things.yml
mateys.yml Rename "Fixtures" class to "FixtureSet" 2012-10-07 19:15:58 +02:00
member_details.yml
member_types.yml
members.yml
memberships.yml
men.yml
minimalistics.yml
minivans.yml
mixed_case_monkeys.yml
mixins.yml
movies.yml
organizations.yml
other_topics.yml
owners.yml Extend ActiveRecord::Base#cache_key to take an optional list of timestamp attributes of which the highest will be used. 2013-11-02 16:05:19 -07:00
parrots.yml
parrots_pirates.yml Rename "Fixtures" class to "FixtureSet" 2012-10-07 19:15:58 +02:00
people.yml Refactor Person/Friendship relationships to be more intuitive 2013-03-17 02:11:19 -04:00
peoples_treasures.yml Rename "Fixtures" class to "FixtureSet" 2012-10-07 19:15:58 +02:00
pets.yml has_many through obeys order on through association 2013-04-04 15:45:13 -04:00
pirates.yml Extend fixture label replacement to allow string interpolation 2014-03-15 22:11:36 -04:00
posts.yml Deprecate automatic counter caches on has_many :through 2014-06-26 07:24:34 -06:00
price_estimates.yml
products.yml
projects.yml
randomly_named_a9.yml
ratings.yml Revert "Merge pull request #14544 from jefflai2/named_scope_sti" 2014-05-21 12:15:57 -03:00
readers.yml Prevent Relation#merge from collapsing wheres on the RHS 2013-01-27 20:34:52 +00:00
references.yml
ships.yml
speedometers.yml
sponsors.yml we should have unique sponsorable ids in the fixtures at least 2013-10-14 15:27:49 -07:00
string_key_objects.yml
subscribers.yml
subscriptions.yml
taggings.yml
tags.yml
tasks.yml Fix broken link to Fixtures documentation on guides 2013-08-29 15:44:12 -05:00
teapots.yml
topics.yml Update test data which doesn't reflect expected usage 2014-06-12 15:33:25 -06:00
toys.yml has_many through obeys order on through association 2013-04-04 15:45:13 -04:00
traffic_lights.yml test case for serialize default values. 2013-03-07 17:26:35 +01:00
treasures.yml
uuid_children.yml Auto-generate stable fixture UUIDs on PostgreSQL. 2014-01-07 19:05:50 +01:00
uuid_parents.yml Auto-generate stable fixture UUIDs on PostgreSQL. 2014-01-07 19:05:50 +01:00
variants.yml
vegetables.yml rewrite inheritance tests with a custom inheritance_column 2012-09-03 20:30:43 +02:00
vertices.yml
warehouse-things.yml
zines.yml