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
Aaron Patterson 3e0a60e4e2 adding a test to demonstrate how to use STI subclasses on the far right
side of a hm:t association along with preloading.
2013-09-27 16:56:49 -07:00
..
admin define Active Record Store accessors in a module 2013-02-11 17:00:55 +03:00
autoloadable Fix ActiveRecord subclass_from_attrs when eager_load is false. 2013-03-06 11:46:07 +04:00
admin.rb
aircraft.rb Refactoring test_has_many_with_pluralize_table_names_false test 2011-05-20 01:53:13 -05:00
arunit2_model.rb added test for #3732 2012-02-10 17:35:22 -05:00
author.rb Merge pull request #12011 from jetthoughts/11963_fix_join_with_association_scope 2013-09-16 13:45:25 -03:00
auto_id.rb ✂️ [ci skip] 2013-09-10 19:49:42 +02:00
binary.rb
bird.rb Allow nested attributes in associations to update values in it's owner object. Fixes a regression from 3.0.x 2011-12-14 20:13:03 -06:00
book.rb rename Relation#uniq to Relation#distinct. #uniq still works. 2013-03-15 14:15:47 +01:00
boolean.rb
bulb.rb Do not invoke callbacks when delete_all is called 2013-06-30 14:50:18 +05:30
car.rb More unused associations in AR test models 2013-09-10 19:50:00 +02:00
categorization.rb Deprecate eager-evaluated scopes. 2012-03-21 22:18:18 +00:00
category.rb Goodbye there, very special rubbish! 2013-01-24 18:40:59 +09:00
citation.rb More unused associations in AR test models 2013-09-10 19:50:00 +02:00
club.rb More unused associations in AR test models 2013-09-10 19:50:00 +02:00
college.rb added test for #3732 2012-02-10 17:35:22 -05:00
column_name.rb Changing the def self.table_name to self.table_name in the column_name.rb 2013-08-03 23:59:28 +05:30
comment.rb Fix scope chaining + STI 2013-04-05 13:14:28 +01:00
company.rb Make sure inverse_of is visible on the has_many callbacks 2013-09-25 14:24:27 -04:00
company_in_module.rb Removed support for deprecated finder_sql in associations. 2013-07-02 22:08:42 +05:30
computer.rb
contact.rb Add some coverage for AR serialization with serializable_hash 2012-06-22 08:28:03 -03:00
contract.rb adding a test to demonstrate how to use STI subclasses on the far right 2013-09-27 16:56:49 -07:00
country.rb Deprecate set_primary_key in favour of self.primary_key= 2011-11-29 20:13:37 +00:00
course.rb added test for #3732 2012-02-10 17:35:22 -05:00
customer.rb Revert "Removing composed_of from ActiveRecord." 2012-07-27 19:25:14 -03:00
dashboard.rb Deprecate set_primary_key in favour of self.primary_key= 2011-11-29 20:13:37 +00:00
default.rb
developer.rb adding a test to demonstrate how to use STI subclasses on the far right 2013-09-27 16:56:49 -07:00
dog.rb Update other counter caches on destroy 2013-03-20 13:43:07 -07:00
dog_lover.rb Update other counter caches on destroy 2013-03-20 13:43:07 -07:00
edge.rb
electron.rb
engine.rb
entrant.rb
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
eye.rb use persisted? instead of new_record? wherever possible 2010-11-09 13:54:04 -02:00
face.rb
friendship.rb Refactor Person/Friendship relationships to be more intuitive 2013-03-17 02:11:19 -04:00
guid.rb
interest.rb Getting rid of the +automatic_inverse_of: false+ option in associations in favor 2013-06-08 10:16:51 -07:00
invoice.rb
item.rb
job.rb Fix naughty trailing whitespace 2010-10-31 11:21:28 +00:00
joke.rb Deprecate set_table_name in favour of self.table_name= or defining your own method. 2011-11-29 20:13:36 +00:00
keyboard.rb Deprecate set_primary_key in favour of self.primary_key= 2011-11-29 20:13:37 +00:00
legacy_thing.rb Deprecate set_locking_column in favour of self.locking_column= 2011-11-29 20:13:37 +00:00
lesson.rb Fixing ordering of HABTM association deletion [#6191 state:resolved] 2011-02-04 19:39:59 -02:00
line_item.rb
liquid.rb rename Relation#uniq to Relation#distinct. #uniq still works. 2013-03-15 14:15:47 +01:00
man.rb Fixing multi-word automatic inverse detection. 2013-08-15 02:44:02 -04:00
matey.rb
member.rb More unused associations in AR test models 2013-09-10 19:50:00 +02:00
member_detail.rb Getting rid of the +automatic_inverse_of: false+ option in associations in favor 2013-06-08 10:16:51 -07:00
member_type.rb
membership.rb adding a test for sti on middle tables with sorting on RHS 2013-09-23 18:13:08 -07:00
minimalistic.rb
minivan.rb Deprecate set_primary_key in favour of self.primary_key= 2011-11-29 20:13:37 +00:00
mixed_case_monkey.rb Fixing multi-word automatic inverse detection. 2013-08-15 02:44:02 -04:00
molecule.rb
movie.rb change function def self.table_name to self.table_name 2013-09-10 19:49:32 +02:00
order.rb
organization.rb Deprecate eager-evaluated scopes. 2012-03-21 22:18:18 +00:00
owner.rb has_many through obeys order on through association 2013-04-04 15:45:13 -04:00
parrot.rb Do not invoke callbacks when delete_all is called 2013-06-30 14:50:18 +05:30
person.rb Fix the :primary_key option for has_many associations. 2013-05-23 07:38:33 +02:00
pet.rb Add missing require to inheritance test 2013-04-03 14:48:57 -03:00
pirate.rb allow to pass Symbol or Proc into :limit option of #accepts_nested_attributes_for 2012-08-26 03:02:05 +03:00
possession.rb Fix pluck when columns/tables are reserved words. 2012-09-05 18:00:07 -04:00
post.rb More unused associations in AR test models 2013-09-10 19:50:00 +02:00
price_estimate.rb Fix nested association references 2012-09-12 23:32:50 +01:00
project.rb More unused associations in AR test models 2013-09-10 19:50:00 +02:00
randomly_named_c1.rb Test fixtures with custom model and table names 2011-12-30 10:34:01 +01: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 Prevent Relation#merge from collapsing wheres on the RHS 2013-01-27 20:34:52 +00:00
reference.rb Rename update_attributes method to update, keep update_attributes as an alias 2013-01-03 11:51:21 -05:00
reply.rb Add test to AR's counter_cache_test.rb 2013-05-18 17:12:46 +09:00
ship.rb
ship_part.rb
shop.rb
speedometer.rb test case to prevent duplicated associations with custom PK. 2013-02-24 16:49:47 +01:00
sponsor.rb Convert association macros to the new syntax 2012-07-20 14:14:51 +01:00
string_key_object.rb Deprecate set_primary_key in favour of self.primary_key= 2011-11-29 20:13:37 +00: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 Deprecate set_primary_key in favour of self.primary_key= 2011-11-29 20:13:37 +00:00
subscription.rb Fix reset_counters() crashing on has_many :through associations. 2012-10-02 23:49:32 +08:00
tag.rb
tagging.rb rm unnecessary test 2012-07-20 19:35:02 +01:00
task.rb Revert "Unused methods, module, etc." 2013-01-24 21:44:02 +09:00
topic.rb More unused associations in AR test models 2013-09-10 19:50:00 +02:00
toy.rb Deprecate eager-evaluated scopes. 2012-03-21 22:18:18 +00:00
traffic_light.rb test case for serialize default values. 2013-03-07 17:26:35 +01:00
treasure.rb Accept belongs_to assoc. keys in ActiveRecord queries 2012-09-11 14:11:51 -04:00
treaty.rb Deprecate set_primary_key in favour of self.primary_key= 2011-11-29 20:13:37 +00:00
tyre.rb
vegetables.rb rewrite inheritance tests with a custom inheritance_column 2012-09-03 20:30:43 +02:00
vertex.rb
warehouse_thing.rb Deprecate set_table_name in favour of self.table_name= or defining your own method. 2011-11-29 20:13:36 +00:00
wheel.rb
without_table.rb Deprecate eager-evaluated scopes. 2012-03-21 22:18:18 +00:00
zine.rb