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/models
2011-03-16 18:54:34 +00:00
..
admin Support fixtures for namespaced models [#2965 state:resolved] 2010-04-25 16:04:38 +02:00
admin.rb Support fixtures for namespaced models [#2965 state:resolved] 2010-04-25 16:04:38 +02:00
author.rb oracle, y u defy me 2011-03-16 18:54:34 +00:00
auto_id.rb move assets and models 2008-01-18 07:27:03 +00:00
binary.rb move assets and models 2008-01-18 07:27:03 +00:00
bird.rb Rollback the transaction when one of the autosave associations fails to save. [#3391 state:resolved] 2010-01-08 21:45:02 +01:00
book.rb Initial nested_has_many_through support [#1152] 2010-09-26 22:25:25 +10:00
boolean.rb Add missing model 2010-08-14 18:49:04 -03:00
bulb.rb We shouldn't be using scoped.scoping { ... } to build associated records, as this can affect validations/callbacks/etc inside the record itself [#6252 state:resolved] 2011-01-30 11:56:41 +00:00
car.rb expanding the test to include both type of order declaration 2010-09-18 20:49:19 +02:00
categorization.rb Merge branch 'master' into nested_has_many_through 2011-03-04 09:30:27 +00:00
category.rb Merge branch 'master' into nested_has_many_through 2011-03-04 09:30:27 +00:00
citation.rb move assets and models 2008-01-18 07:27:03 +00:00
club.rb Merge branch 'master' into nested_has_many_through 2011-03-04 09:30:27 +00:00
column_name.rb move assets and models 2008-01-18 07:27:03 +00:00
comment.rb Merge branch 'master' into nested_has_many_through 2011-03-04 09:30:27 +00:00
company.rb Add interpolation of association conditions back in, in the form of proc { ... } rather than instance_eval-ing strings 2011-02-14 01:40:31 +00:00
company_in_module.rb Object#returning removed 2010-07-25 23:30:27 +02:00
computer.rb move assets and models 2008-01-18 07:27:03 +00:00
contact.rb introduce a fake AR adapter for mocking database return values 2011-02-04 13:34:57 -08:00
contract.rb Respect the default_scope on a join model when reading a through association 2010-12-16 01:49:30 +05:30
country.rb Ensure that primary_keys of HABTM records is not double quoted 2010-07-20 16:45:42 -07:00
course.rb move assets and models 2008-01-18 07:27:03 +00:00
customer.rb send() will raise an ArgumentError, so we should leverage ruby 2011-01-07 14:30:20 -08:00
dashboard.rb string IDs are now quoted correctly [#5064 state:resolved] 2010-07-13 08:14:52 +02:00
default.rb move assets and models 2008-01-18 07:27:03 +00:00
developer.rb reorder removed in favor of except(:order).order 2010-10-11 11:54:46 -02:00
edge.rb move assets and models 2008-01-18 07:27:03 +00:00
electron.rb Eager loading an association should not change the count of children 2010-08-02 17:12:59 +02:00
engine.rb expanding the test to include both type of order declaration 2010-09-18 20:49:19 +02:00
entrant.rb move assets and models 2008-01-18 07:27:03 +00:00
essay.rb Support for :primary_key option on the source reflection of a through association, where the source is a has_one or has_many 2010-10-19 14:14:06 +01:00
event.rb Ensure validates_uniqueness_of considers limit on the field. [#1042 state:resolved] 2009-03-07 13:52:17 +00:00
eye.rb use persisted? instead of new_record? wherever possible 2010-11-09 13:54:04 -02:00
face.rb Make polymorphic_inverse_of in Reflection throw an InverseOfAssociationNotFoundError if the supplied class doesn't have the appropriate association. [#3520 state:resolved] 2009-12-28 15:12:17 +01:00
guid.rb Fix validates_uniqueness_of for SQL keywords [#23 state:resolved] 2008-05-11 19:30:03 +01:00
interest.rb Add inverse polymorphic association support. [#3520 state:resolved] 2009-12-28 15:12:13 +01:00
invoice.rb Add failing test that triggers the stack overflow 2010-01-08 21:45:02 +01:00
item.rb move assets and models 2008-01-18 07:27:03 +00:00
job.rb Fix naughty trailing whitespace 2010-10-31 11:21:28 +00:00
joke.rb make set_table_name take effect immediately 2011-02-08 10:31:09 -08:00
keyboard.rb move assets and models 2008-01-18 07:27:03 +00:00
legacy_thing.rb move assets and models 2008-01-18 07:27:03 +00:00
lesson.rb Fixing ordering of HABTM association deletion [#6191 state:resolved] 2011-02-04 19:39:59 -02:00
line_item.rb Add failing test that triggers the stack overflow 2010-01-08 21:45:02 +01:00
liquid.rb Eager loading an association should not change the count of children 2010-08-02 17:12:59 +02:00
loose_person.rb mass_assignment_security moved from AR to AMo, and minor test cleanup 2010-07-08 18:28:45 +02:00
man.rb Add inverse polymorphic association support. [#3520 state:resolved] 2009-12-28 15:12:13 +01:00
matey.rb move assets and models 2008-01-18 07:27:03 +00:00
member.rb Merge branch 'master' into nested_has_many_through 2011-03-04 09:30:27 +00:00
member_detail.rb Fix naughty trailing whitespace 2010-10-31 11:21:28 +00:00
member_type.rb Fix preloading of has_one :through associations on belongs_to [#1507 state:resolved] 2008-12-18 19:19:36 +00:00
membership.rb Add has_one :through support, finally. Closes #4756 [thechrisoshow] 2008-03-21 18:09:03 +00:00
minimalistic.rb move assets and models 2008-01-18 07:27:03 +00:00
minivan.rb Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 04:12:33 -03:00
mixed_case_monkey.rb move assets and models 2008-01-18 07:27:03 +00:00
molecule.rb Eager loading an association should not change the count of children 2010-08-02 17:12:59 +02:00
movie.rb move assets and models 2008-01-18 07:27:03 +00:00
order.rb move assets and models 2008-01-18 07:27:03 +00:00
organization.rb Fix naughty trailing whitespace 2010-10-31 11:21:28 +00:00
owner.rb Ensure has_many :through works with changed primary keys [#736 state:resolved] 2009-03-09 13:43:28 +00:00
parrot.rb Rollback the transaction when one of the autosave associations fails to save. [#3391 state:resolved] 2010-01-08 21:45:02 +01:00
person.rb Merge branch 'master' into nested_has_many_through 2011-03-04 09:30:27 +00:00
pet.rb fix warnings, stop using global variables 2010-11-30 18:46:56 -08:00
pirate.rb We shouldn't be using scoped.scoping { ... } to build associated records, as this can affect validations/callbacks/etc inside the record itself [#6252 state:resolved] 2011-01-30 11:56:41 +00:00
post.rb oracle, y u defy me 2011-03-16 18:54:34 +00:00
price_estimate.rb Fix has_many :through a polymorphic has_many. Closes #10529 [Aleksey Kondratenko] 2008-02-02 03:27:31 +00:00
project.rb Add interpolation of association conditions back in, in the form of proc { ... } rather than instance_eval-ing strings 2011-02-14 01:40:31 +00:00
rating.rb Add a test for STI on the through where the through is nested, and change the code which support this 2011-03-05 20:10:24 +00:00
reader.rb Allow building and then later saving has_many :through records, such that the join record is automatically saved too. This requires the :inverse_of option to be set on the source association in the join model. See the CHANGELOG for details. [#4329 state:resolved] 2011-02-18 00:00:13 +00:00
reference.rb Merge branch 'master' into nested_has_many_through 2011-03-04 09:30:27 +00:00
reply.rb DRY up the code which instantiates the association proxy 2011-01-11 13:45:08 -08:00
ship.rb Nested records (re: autosave) are now updated even when the intermediate parent record is unchanged [#4242 state:resolved] 2010-05-18 16:13:00 +02:00
ship_part.rb Nested records (re: autosave) are now updated even when the intermediate parent record is unchanged [#4242 state:resolved] 2010-05-18 16:13:00 +02:00
shop.rb Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 04:12:33 -03:00
speedometer.rb string IDs are now quoted correctly [#5064 state:resolved] 2010-07-13 08:14:52 +02:00
sponsor.rb Fix polymorphic belongs_to associationproxy raising errors when loading target. 2011-01-11 09:19:19 -08:00
student.rb Fixing ordering of HABTM association deletion [#6191 state:resolved] 2011-02-04 19:39:59 -02:00
subject.rb use persisted? instead of new_record? wherever possible 2010-11-09 13:54:04 -02:00
subscriber.rb Fixed AssociationsPreload such that it doesnt require foreign keys to be integers (fcheung) [#33 state:resolved] 2008-04-30 23:30:50 -05:00
subscription.rb Added missing files 2008-05-01 15:03:16 -05:00
tag.rb move assets and models 2008-01-18 07:27:03 +00:00
tagging.rb oracle, y u defy me 2011-03-16 18:54:34 +00:00
task.rb Make sure Model#touch doesn't try to update non existing columns 2010-12-30 18:42:18 +00:00
topic.rb DRY up the code which instantiates the association proxy 2011-01-11 13:45:08 -08:00
toy.rb Ensure has_many :through works with changed primary keys [#736 state:resolved] 2009-03-09 13:43:28 +00:00
traffic_light.rb Make serialized fixtures work again 2010-12-29 16:15:45 +00:00
treasure.rb Raise an exception with friendlier error message when attempting to build a polymorphic belongs_to with accepts_nested_attributes_for. [#2318 state:resolved] 2009-09-12 15:37:54 +02:00
treaty.rb Ensure that primary_keys of HABTM records is not double quoted 2010-07-20 16:45:42 -07:00
tyre.rb Ensure we can nest include calls [#5285 state:resolved] 2010-08-12 13:10:58 -03:00
vertex.rb move assets and models 2008-01-18 07:27:03 +00:00
warehouse_thing.rb move assets and models 2008-01-18 07:27:03 +00:00
wheel.rb reset_counter should work with non-traditional belongs_to and polymorphic belongs_to 2010-07-08 23:24:12 +02:00
without_table.rb Push a failing test for issues [#4994] and [#5003]. 2010-06-29 19:50:09 +02:00
zine.rb Providing support for :inverse_of as an option to associations. 2009-05-04 15:27:39 -07:00