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
Carlos Antonio da Silva 5d26c8f00a Fix issue with private kernel methods and collection associations. Closes #2508
Change CollectionProxy#method_missing to use scoped.public_send, to
avoid a problem described in issue #2508 when trying to use class
methods with names like "open", that clash with private kernel methods.
Also changed the dynamic matcher instantiator to send straight to
scoped, to avoid another roundtrip to method_missing.
2012-05-02 23:23:35 -03:00
..
admin Allow store to be a not null column. 2012-02-02 18:57:15 +00:00
admin.rb
aircraft.rb
arunit2_model.rb added test for #3732 2012-02-10 17:35:22 -05:00
author.rb Deprecate eager-evaluated scopes. 2012-03-21 22:18:18 +00:00
auto_id.rb
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
boolean.rb
bulb.rb Deprecate eager-evaluated scopes. 2012-03-21 22:18:18 +00:00
car.rb remove deprecated scope stuff 2012-04-26 13:29:47 +01:00
categorization.rb Deprecate eager-evaluated scopes. 2012-03-21 22:18:18 +00:00
category.rb Deprecate eager-evaluated scopes. 2012-03-21 22:18:18 +00:00
citation.rb
club.rb
college.rb added test for #3732 2012-02-10 17:35:22 -05:00
column_name.rb
comment.rb find and replace deprecated keys 2012-04-27 12:37:21 +01:00
company.rb Fix issue with private kernel methods and collection associations. Closes #2508 2012-05-02 23:23:35 -03:00
company_in_module.rb
computer.rb
contact.rb Raise error when using write_attribute with a non-existent attribute. 2011-09-13 00:01:58 +01:00
contract.rb
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
dashboard.rb Deprecate set_primary_key in favour of self.primary_key= 2011-11-29 20:13:37 +00:00
default.rb
developer.rb %s/find(:\(first\|last\|all\), \([^()]*\))/scoped(\2).\1/gcI amongst other things 2012-04-27 11:42:50 +01:00
dog.rb Fix bug where reset_counters resets the wrong counter cache. 2012-01-16 19:06:45 -08:00
dog_lover.rb Fix bug where reset_counters resets the wrong counter cache. 2012-01-16 19:06:45 -08:00
edge.rb
electron.rb
engine.rb
entrant.rb
essay.rb
event.rb
eye.rb
face.rb
guid.rb
interest.rb
invoice.rb
item.rb
job.rb
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
line_item.rb
liquid.rb Deprecate set_table_name in favour of self.table_name= or defining your own method. 2011-11-29 20:13:36 +00:00
man.rb
matey.rb
member.rb
member_detail.rb
member_type.rb
membership.rb
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 Deprecate set_primary_key in favour of self.primary_key= 2011-11-29 20:13:37 +00:00
molecule.rb
movie.rb
order.rb
organization.rb Deprecate eager-evaluated scopes. 2012-03-21 22:18:18 +00:00
owner.rb Deprecate set_primary_key in favour of self.primary_key= 2011-11-29 20:13:37 +00:00
parrot.rb Deprecate set_inheritance_column in favour of self.inheritance_column= 2011-11-29 20:13:36 +00:00
person.rb Merge pull request #5334 from courtland/master 2012-03-30 06:08:05 -07:00
pet.rb Deprecate set_primary_key in favour of self.primary_key= 2011-11-29 20:13:37 +00:00
pirate.rb
post.rb %s/find(:\(first\|last\|all\), \([^()]*\))/scoped(\2).\1/gcI amongst other things 2012-04-27 11:42:50 +01:00
price_estimate.rb
project.rb Deprecate eager-evaluated scopes. 2012-03-21 22:18:18 +00:00
randomly_named_c1.rb Test fixtures with custom model and table names 2011-12-30 10:34:01 +01:00
rating.rb
reader.rb Not need to pass join attributes to association build 2012-03-07 21:07:29 -03:00
reference.rb Deprecate eager-evaluated scopes. 2012-03-21 22:18:18 +00:00
reply.rb Deprecate eager-evaluated scopes. 2012-03-21 22:18:18 +00:00
ship.rb
ship_part.rb
shop.rb
speedometer.rb Deprecate set_primary_key in favour of self.primary_key= 2011-11-29 20:13:37 +00:00
sponsor.rb
string_key_object.rb Deprecate set_primary_key in favour of self.primary_key= 2011-11-29 20:13:37 +00:00
student.rb
subject.rb
subscriber.rb Deprecate set_primary_key in favour of self.primary_key= 2011-11-29 20:13:37 +00:00
subscription.rb
tag.rb
tagging.rb
task.rb
teapot.rb Support establishing connection on ActiveRecord::Model. 2011-12-28 18:27:41 +00:00
topic.rb remove unnecessary test code 2012-04-27 10:30:52 +01:00
toy.rb Deprecate eager-evaluated scopes. 2012-03-21 22:18:18 +00:00
traffic_light.rb
treasure.rb
treaty.rb Deprecate set_primary_key in favour of self.primary_key= 2011-11-29 20:13:37 +00:00
tyre.rb
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