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 Leighton 9e4c41c903 Remove ActiveRecord::Model
In the end I think the pain of implementing this seamlessly was not
worth the gain provided.

The intention was that it would allow plain ruby objects that might not
live in your main application to be subclassed and have persistence
mixed in. But I've decided that the benefit of doing that is not worth
the amount of complexity that the implementation introduced.
2012-10-26 15:51:02 +01:00
..
admin fix warning: method redefined 2012-10-02 13:32:54 -03:00
admin.rb
aircraft.rb
arunit2_model.rb added test for #3732 2012-02-10 17:35:22 -05:00
author.rb Use method compilation for association methods 2012-08-10 23:28:08 +01: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 Convert association macros to the new syntax 2012-07-20 14:14:51 +01:00
boolean.rb
bulb.rb Remove mass_assignment_options from ActiveRecord 2012-09-16 23:59:05 -05:00
car.rb Convert association macros to the new syntax 2012-07-20 14:14:51 +01:00
categorization.rb Deprecate eager-evaluated scopes. 2012-03-21 22:18:18 +00:00
category.rb Convert association macros to the new syntax 2012-07-20 14:14:51 +01:00
citation.rb
club.rb
college.rb added test for #3732 2012-02-10 17:35:22 -05:00
column_name.rb
comment.rb Deprecate ActiveRecord::Base.scoped. 2012-07-27 17:27:47 +01:00
company.rb Remove mass assignment security from ActiveRecord 2012-09-16 23:58:19 -05:00
company_in_module.rb Remove mass assignment security from ActiveRecord 2012-09-16 23:58:19 -05:00
computer.rb
contact.rb Add some coverage for AR serialization with serializable_hash 2012-06-22 08:28:03 -03: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 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 Revert "Removing composed_of from ActiveRecord." 2012-07-27 19:25:14 -03: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
friendship.rb reset_counters() was crashing when there were multiple belongs_to associations with the same foreign key. 2012-08-21 14:10:11 -03:00
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 Convert association macros to the new syntax 2012-07-20 14:14:51 +01:00
man.rb
matey.rb
member.rb Use method compilation for association methods 2012-08-10 23:28:08 +01:00
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 Remove mass assignment security from ActiveRecord 2012-09-16 23:58:19 -05:00
pet.rb Deprecate set_primary_key in favour of self.primary_key= 2011-11-29 20:13:37 +00: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 Revert "Fix find_in_batches with customized primary_key" 2012-09-21 19:14:17 -03:00
price_estimate.rb Fix nested association references 2012-09-12 23:32:50 +01:00
project.rb Deprecate :finder_sql, :counter_sql, :insert_sql, :delete_sql. 2012-08-01 19:46:31 +01: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 Remove mass assignment security from ActiveRecord 2012-09-16 23:58:19 -05:00
reference.rb Deprecate eager-evaluated scopes. 2012-03-21 22:18:18 +00:00
reply.rb Remove mass assignment security from ActiveRecord 2012-09-16 23:58:19 -05: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 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
subject.rb
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
topic.rb Deprecate ActiveRecord::Base.scoped. 2012-07-27 17:27:47 +01:00
toy.rb Deprecate eager-evaluated scopes. 2012-03-21 22:18:18 +00:00
traffic_light.rb
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