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
Jon Moss 8d64cd86db Add type caster to RuntimeReflection#alias_name
Since we have been using this `Arel::Table` since 111ccc832b,
in order to properly handle queries, it's important that we properly type cast arguments.
2017-05-02 17:25:38 -04:00
..
admin Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
autoloadable
publisher
admin.rb applies new string literal convention in activerecord/test 2016-08-06 18:26:53 +02:00
aircraft.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
arunit2_model.rb
author.rb Add type caster to RuntimeReflection#alias_name 2017-05-02 17:25:38 -04:00
auto_id.rb
binary.rb
bird.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
book.rb Add type caster to RuntimeReflection#alias_name 2017-05-02 17:25:38 -04:00
boolean.rb Remove duplicated model class definitions in test/cases/base_test.rb 2016-12-12 08:46:10 +09:00
bulb.rb Don't skip in-memory insertion of associations when loaded in validate 2016-09-29 14:57:31 -04:00
cake_designer.rb
car.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
carrier.rb
cat.rb Fix warning: method redefined; discarding old female 2016-03-12 17:06:43 +09:00
categorization.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
category.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
chef.rb Add missing source_type if provided on hmt which belongs to an sti record 2016-01-24 22:25:12 +05:30
citation.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
club.rb normalizes indentation and whitespace across the project 2016-08-06 20:16:27 +02:00
college.rb applies new string literal convention in activerecord/test 2016-08-06 18:26:53 +02:00
column.rb
column_name.rb
comment.rb Mixin CollectionProxy::DelegateExtending after ClassSpecificRelation 2017-04-22 11:06:19 +09:00
company.rb Remove useless test case 2017-04-26 22:41:32 +09:00
company_in_module.rb Privatize unneededly protected methods in Active Record tests 2016-12-24 00:15:31 +09:00
computer.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
contact.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
content.rb applies new string literal convention in activerecord/test 2016-08-06 18:26:53 +02:00
contract.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
country.rb applies remaining conventions across the project 2016-08-06 20:20:22 +02:00
course.rb applies new string literal convention in activerecord/test 2016-08-06 18:26:53 +02:00
customer.rb self. is not needed when calling its own instance method 2017-01-05 19:58:52 +09:00
customer_carrier.rb
dashboard.rb
default.rb
department.rb
developer.rb Raise error when has_many through is defined before through association 2017-01-04 11:56:08 +00:00
dog.rb
dog_lover.rb
doubloon.rb applies new string literal convention in activerecord/test 2016-08-06 18:26:53 +02:00
drink_designer.rb
edge.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
electron.rb
engine.rb normalizes indentation and whitespace across the project 2016-08-06 20:16:27 +02:00
entrant.rb
essay.rb Add a test case for #20802 2017-04-13 07:56:17 +09:00
event.rb
eye.rb Deprecate the behavior of AR::Dirty inside of after_(create|update|save) callbacks 2016-11-01 13:16:33 -04:00
face.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
family.rb Chain scope constraints should respect own table alias 2017-02-01 06:27:23 +09:00
family_tree.rb Chain scope constraints should respect own table alias 2017-02-01 06:27:23 +09:00
friendship.rb applies new string literal convention in activerecord/test 2016-08-06 18:26:53 +02:00
guid.rb
guitar.rb
hotel.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
image.rb
interest.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
invoice.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
item.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
job.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
joke.rb applies new string literal convention in activerecord/test 2016-08-06 18:26:53 +02:00
keyboard.rb applies new string literal convention in activerecord/test 2016-08-06 18:26:53 +02:00
legacy_thing.rb
lesson.rb
line_item.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
liquid.rb
man.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
matey.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
member.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
member_detail.rb
member_type.rb
membership.rb applies new string literal convention in activerecord/test 2016-08-06 18:26:53 +02:00
mentor.rb normalizes indentation and whitespace across the project 2016-08-06 20:16:27 +02:00
minimalistic.rb
minivan.rb applies remaining conventions across the project 2016-08-06 20:20:22 +02:00
mixed_case_monkey.rb
mocktail_designer.rb Add missing source_type if provided on hmt which belongs to an sti record 2016-01-24 22:25:12 +05:30
molecule.rb
movie.rb
node.rb applies new string literal convention in activerecord/test 2016-08-06 18:26:53 +02:00
non_primary_key.rb Fix inspection behavior when the :id column is not primary key 2017-02-09 01:57:50 +09:00
notification.rb Ensure suppressor runs before validations 2016-02-24 14:33:22 -05:00
order.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
organization.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
other_dog.rb fix #create_fixtures when equal table names in different databases 2016-12-21 11:09:29 +01:00
owner.rb applies remaining conventions across the project 2016-08-06 20:20:22 +02:00
parrot.rb Should not update children when the parent creation with no reason 2016-12-29 16:24:57 +09:00
person.rb Add Style/EmptyLines in .rubocop.yml and remove extra empty lines 2016-08-07 17:50:59 +09:00
personal_legacy_thing.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
pet.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
pet_treasure.rb Fix undefined method `owners' for NullPreloader:Class 2016-04-06 00:46:55 -03:00
pirate.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
possession.rb applies new string literal convention in activerecord/test 2016-08-06 18:26:53 +02:00
post.rb Fix extension method with dirty target in has_many associations 2017-03-20 18:49:14 +09:00
price_estimate.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
professor.rb applies new string literal convention in activerecord/test 2016-08-06 18:26:53 +02:00
project.rb Correct spelling 2017-02-05 19:00:18 -06:00
publisher.rb
randomly_named_c1.rb
rating.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
reader.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
recipe.rb
record.rb
reference.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
reply.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
ship.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
ship_part.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
shop.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
shop_account.rb
speedometer.rb
sponsor.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
string_key_object.rb
student.rb
subject.rb Privatize unneededly protected methods in Active Record tests 2016-12-24 00:15:31 +09:00
subscriber.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
subscription.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
tag.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
tagging.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
task.rb
topic.rb Privatize unneededly protected methods in Active Record tests 2016-12-24 00:15:31 +09:00
toy.rb
traffic_light.rb
treasure.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
treaty.rb applies remaining conventions across the project 2016-08-06 20:20:22 +02:00
tree.rb
tuning_peg.rb
tyre.rb
user.rb Chain scope constraints should respect own table alias 2017-02-01 06:27:23 +09:00
uuid_child.rb
uuid_item.rb Fix issue #23625 2016-02-18 00:32:38 -05:00
uuid_parent.rb
vegetables.rb applies remaining conventions across the project 2016-08-06 20:20:22 +02:00
vehicle.rb normalizes indentation and whitespace across the project 2016-08-06 20:16:27 +02:00
vertex.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
warehouse_thing.rb
wheel.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
without_table.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
zine.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00