..
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
aircraft.rb
Refactoring test_has_many_with_pluralize_table_names_false test
2011-05-20 01:53:13 -05:00
author.rb
Ignore :includes on through associations
2011-05-24 07:21:32 +01:00
auto_id.rb
binary.rb
bird.rb
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
use existing model for testing Base.create with #after_initialize
2011-07-24 16:36:06 -04:00
car.rb
Ensure we are not comparing a string with a symbol in HasManyAssociation#inverse_updates_counter_cache?. Fixes #2755 , where a counter cache could be decremented twice as far as it was supposed to be.
2011-09-06 15:58:07 +01:00
categorization.rb
Un-deprecate using 'default_scope' as a macro, but if you are calling the macro multiple times that will give deprecation warnings, and in 3.2 we will simply overwrite the default scope when you call the macro multiple times.
2011-04-18 23:15:38 +01:00
category.rb
Merge branch 'master' into nested_has_many_through
2011-03-04 09:30:27 +00:00
citation.rb
club.rb
Merge branch 'master' into nested_has_many_through
2011-03-04 09:30:27 +00:00
column_name.rb
comment.rb
Fix exception if old and new targets are both nil. Fixes #1471 .
2011-07-12 00:14:45 +01:00
company.rb
Refactor tests to be less brittle
2011-06-12 18:19:21 +01:00
company_in_module.rb
Object#returning removed
2010-07-25 23:30:27 +02:00
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
Tests for issue #1360
2011-05-31 19:47:34 +01:00
country.rb
Ensure that primary_keys of HABTM records is not double quoted
2010-07-20 16:45:42 -07:00
course.rb
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
developer.rb
Fix default scope thread safety. Thanks @thedarkone for reporting.
2011-08-13 16:54:05 +01:00
edge.rb
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
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
guid.rb
interest.rb
invoice.rb
item.rb
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
legacy_thing.rb
lesson.rb
Fixing ordering of HABTM association deletion [ #6191 state:resolved]
2011-02-04 19:39:59 -02:00
line_item.rb
liquid.rb
Eager loading an association should not change the count of children
2010-08-02 17:12:59 +02:00
man.rb
matey.rb
member.rb
Don't use select() values from the join model of a through association. Fixes #508 .
2011-05-11 08:56:01 +01:00
member_detail.rb
Fix naughty trailing whitespace
2010-10-31 11:21:28 +00:00
member_type.rb
membership.rb
Don't use select() values from the join model of a through association. Fixes #508 .
2011-05-11 08:56:01 +01:00
minimalistic.rb
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
molecule.rb
Eager loading an association should not change the count of children
2010-08-02 17:12:59 +02:00
movie.rb
order.rb
organization.rb
Fix naughty trailing whitespace
2010-10-31 11:21:28 +00:00
owner.rb
parrot.rb
person.rb
Pass mass-assignment options to nested models - closes #1673 .
2011-06-13 13:02:51 +01:00
pet.rb
fix warnings, stop using global variables
2010-11-30 18:46:56 -08:00
pirate.rb
Deprecated support for passing hashes and relations to default_scope, in favour of defining a 'default_scope' class method in the model. See the CHANGELOG for more details.
2011-04-12 19:46:04 -07:00
post.rb
We need to recorder here. Need to drop the order from default scope.
2011-09-05 00:12:57 +05:30
price_estimate.rb
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
Un-deprecate using 'default_scope' as a macro, but if you are calling the macro multiple times that will give deprecation warnings, and in 3.2 we will simply overwrite the default scope when you call the macro multiple times.
2011-04-18 23:15:38 +01: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
string_key_object.rb
Don't quote ID's as Arel will quote them -- follow same conventions as the delete method.
2011-05-08 18:37:28 +01: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
subscription.rb
tag.rb
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
Make protected method public so we avoid method_missing.
2011-09-13 00:01:58 +01:00
toy.rb
The join_nodes must be passed to the JoinDependency initializer and therefore counted by the alias tracker. This is because the association_joins are aliased on initialization and then the tables are cached, so it is no use to alias the join_nodes later. Fixes #2556 .
2011-08-29 15:05:47 +01:00
traffic_light.rb
Make serialized fixtures work again
2010-12-29 16:15:45 +00:00
treasure.rb
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
warehouse_thing.rb
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
Un-deprecate using 'default_scope' as a macro, but if you are calling the macro multiple times that will give deprecation warnings, and in 3.2 we will simply overwrite the default scope when you call the macro multiple times.
2011-04-18 23:15:38 +01:00
zine.rb