index
:
rails.git
3-2-stable-for-hmno
master
Mirror of official rails repo with custom fixes.
Harald Eilertsen
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
activerecord
/
test
/
cases
/
associations
/
belongs_to_associations_test.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Fix the test defining the models in the right place
Rafael Mendonça França
2014-04-04
1
-15
/
+5
*
Merge pull request #11650 from prathamesh-sonpatki/rename
Rafael Mendonça França
2014-04-04
1
-0
/
+18
|
\
|
*
[Active Record] Renamed private methods create_record and update_record
Prathamesh Sonpatki
2014-02-20
1
-0
/
+18
*
|
Use rails convetions
Rafael Mendonça França
2014-03-25
1
-2
/
+2
*
|
Merge pull request #14390 from huoxito/true-touch
Rafael Mendonça França
2014-03-25
1
-0
/
+11
|
\
\
|
*
|
Still touch associations when theres no timestamp
Washington Luiz
2014-03-14
1
-0
/
+11
|
|
/
*
/
Add counter cache test for class_name
Arthur Neves
2014-03-17
1
-0
/
+11
|
/
*
Associations now raise `ArgumentError` on name conflicts.
Lauro Caetano
2014-01-31
1
-0
/
+10
*
`has_one` and `belongs_to` accessors don't add ORDER BY to the queries anymore.
Rafael Mendonça França
2014-01-21
1
-0
/
+7
*
On destroying do not touch destroyed belongs to association.
Paul Nikitochkin
2013-12-23
1
-0
/
+8
*
Add a failing test for assigning nil to a polymorphic belongs_to not nullifyi...
Jeremy Kemper
2013-12-17
1
-0
/
+13
*
updating options documentation for associations
Kuldeep Aggarwal
2013-11-29
1
-8
/
+3
*
Clear class ivar before testing
Akira Matsuda
2013-07-29
1
-0
/
+2
*
#11288: Removed duplicated touching
Paul Nikitochkin
2013-07-05
1
-1
/
+42
*
Cleanup belongs to tests
Paul Nikitochkin
2013-07-05
1
-2
/
+1
*
wonderfull => wonderful
Vipul A M
2013-06-02
1
-1
/
+1
*
Confirm a record has not already been destroyed before decrementing
Ben Tucker
2013-05-06
1
-0
/
+20
*
Refactored test case with standard variable naming
Anupam Choudhury
2013-03-08
1
-40
/
+40
*
Refactored and removed unnecessary lines in the test case
Anupam Choudhury
2013-03-07
1
-3
/
+3
*
Fix undefined method `to_i' introduced since 3.2.8
Jason Stirk
2013-01-04
1
-0
/
+12
*
Rename update_attributes method to update, keep update_attributes as an alias
Amparo Luna + Guillermo Iguaran
2013-01-03
1
-4
/
+4
*
Standardize the use of current_adapter?
Rafael Mendonça França
2013-01-01
1
-1
/
+1
*
User assert_kind_of, invert assert_equal expectations
Carlos Antonio da Silva
2012-11-29
1
-3
/
+3
*
Added STI support to init and building associations
Jason Rush
2012-11-29
1
-0
/
+28
*
Use method compilation for association methods
Jon Leighton
2012-08-10
1
-2
/
+2
*
Deprecate ActiveRecord::Base.scoped.
Jon Leighton
2012-07-27
1
-7
/
+7
*
ActiveRecord::Base.all returns a Relation.
Jon Leighton
2012-07-27
1
-1
/
+1
*
Deprecate update_column in favor of update_columns.
Rafael Mendonça França
2012-07-24
1
-2
/
+2
*
fix assertion arguments order
Jon Leighton
2012-07-13
1
-2
/
+2
*
quarantine deprecated tests
Jon Leighton
2012-05-18
1
-1
/
+1
*
remove deprecated calls
Jon Leighton
2012-04-27
1
-3
/
+3
*
find and replace deprecated keys
Jon Leighton
2012-04-27
1
-2
/
+2
*
%s/find(:\(first\|last\|all\), \([^()]*\))/scoped(\2).\1/gcI amongst other th...
Jon Leighton
2012-04-27
1
-4
/
+4
*
remove calls to find(:first), find(:last) and find(:all)
Jon Leighton
2012-04-26
1
-1
/
+1
*
Merge remote-tracking branch 'kennyj/fix_5563'
Jon Leighton
2012-04-25
1
-0
/
+11
|
\
|
*
Fix #5563. Should reflect the most recent change to either of association / id.
kennyj
2012-04-13
1
-0
/
+11
*
|
add missing test
Jon Leighton
2012-04-25
1
-0
/
+12
|
/
*
Get a properly aliased_table_name, when we use a polymorphic association.
kennyj
2012-04-04
1
-0
/
+1
*
Fix belongs_to polymorphic with custom primary key on target.
Jon Leighton
2011-09-26
1
-0
/
+8
*
Don't find belongs_to target when the foreign_key is NULL. Fixes #2828
Georg Friedrich
2011-09-05
1
-0
/
+6
*
Fix exception if old and new targets are both nil. Fixes #1471.
Jon Leighton
2011-07-12
1
-0
/
+9
*
Ensure that the foreign key gets set when doing record.create_association or ...
Jon Leighton
2011-07-08
1
-0
/
+14
*
added more tests for update_column
ganesh
2011-06-04
1
-0
/
+9
*
Handle polymorphic_type NOT NULL-able columns as well.
thedarkone
2011-05-21
1
-0
/
+11
*
Add block setting of attributes to singular associations
Andrew White
2011-05-17
1
-0
/
+21
*
assert_difference can take a callable piece of code rather than just evaling ...
Aaron Patterson
2011-05-01
1
-4
/
+4
*
fixing more test warnings in 1.9.3
Aaron Patterson
2011-04-30
1
-3
/
+3
*
Split AssociationProxy into an Association class (and subclasses) which manag...
Jon Leighton
2011-02-18
1
-8
/
+5
*
belongs_to records should be initialized within the association scope
Jon Leighton
2011-01-16
1
-0
/
+21
*
Add create_association! for belongs_to
Jon Leighton
2011-01-16
1
-0
/
+17
[next]