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
/
lib
/
active_record
/
associations
/
builder
/
association.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Merge pull request #12450 from iantropov/master
Rafael Mendonça França
2014-06-27
1
-4
/
+10
|
\
|
*
Fix bug, when ':dependent => :destroy' option violates foreign key constraint...
Ivan Antropov
2013-10-26
1
-6
/
+11
*
|
Associations now raise `ArgumentError` on name conflicts.
Lauro Caetano
2014-01-31
1
-0
/
+6
*
|
Move the parameter normalization to the initialize method
Rafael Mendonça França
2013-12-11
1
-4
/
+5
*
|
Revert the whole refactoring in the association builder classes.
Rafael Mendonça França
2013-12-11
1
-28
/
+28
*
|
Bring back the valid_options class accessor
Rafael Mendonça França
2013-12-11
1
-4
/
+9
*
|
Merge pull request #12390 from kennyj/rename_to_association_methods
Rafael Mendonça França
2013-11-05
1
-1
/
+1
|
\
\
|
*
|
Renamed generated_feature_methods to generated_association_methods.
kennyj
2013-09-28
1
-1
/
+1
|
|
/
*
|
Method visibility will not make difference here
Rafael Mendonça França
2013-10-09
1
-2
/
+0
*
|
Remove builder instances
Rafael Mendonça França
2013-10-09
1
-17
/
+5
*
|
Extract the scope building to a class method
Rafael Mendonça França
2013-10-09
1
-2
/
+17
*
|
Move macro to class level
Rafael Mendonça França
2013-10-09
1
-2
/
+2
*
|
Make validate_options a class method
Rafael Mendonça França
2013-10-09
1
-3
/
+3
*
|
Make valid_options a class method
Rafael Mendonça França
2013-10-09
1
-2
/
+2
*
|
Define the association extensions without need to have a builder
Rafael Mendonça França
2013-10-09
1
-6
/
+6
*
|
Push define_accessors to class level since we don't need anythig from
Rafael Mendonça França
2013-10-08
1
-4
/
+4
*
|
Use the reflection name instead of the accessor
Rafael Mendonça França
2013-10-08
1
-0
/
+1
*
|
Move define_writers to class level since we don't need anything from the
Rafael Mendonça França
2013-10-08
1
-2
/
+2
*
|
Move define_readers to class method since it doesn't need nothing from
Rafael Mendonça França
2013-10-08
1
-3
/
+2
*
|
remove some duplicate code
Aaron Patterson
2013-10-02
1
-8
/
+1
*
|
remove HABTM associations
Aaron Patterson
2013-10-02
1
-1
/
+0
*
|
Merge branch 'master' into habtm
Aaron Patterson
2013-10-02
1
-9
/
+10
|
\
\
|
*
|
we can define callbacks without a builder instance
Aaron Patterson
2013-10-02
1
-3
/
+3
|
*
|
add_before_destroy_callbacks doesn't depend on the instance, so push it
Aaron Patterson
2013-10-02
1
-4
/
+4
|
*
|
valid_options doesn't depend on the instance, so push it to the class
Aaron Patterson
2013-10-02
1
-3
/
+3
|
*
|
use the information on the reflection to determine whether callbacks should b...
Aaron Patterson
2013-10-02
1
-4
/
+5
|
*
|
push constructable? on to the reflection
Aaron Patterson
2013-10-02
1
-2
/
+2
|
|
/
*
/
Squashed commit of the following:
Aaron Patterson
2013-10-01
1
-0
/
+11
|
/
*
support anonymous classes on has_many associations
Aaron Patterson
2013-09-03
1
-1
/
+1
*
remove intermediate assignments
Aaron Patterson
2013-08-01
1
-3
/
+2
*
push option handling "chrome" outside `initialize`
Aaron Patterson
2013-08-01
1
-8
/
+7
*
remove `valid_options` class method
Aaron Patterson
2013-08-01
1
-4
/
+3
*
association builder classes no longer need the model
Aaron Patterson
2013-08-01
1
-6
/
+5
*
make mutation method apis more consistent
Aaron Patterson
2013-08-01
1
-2
/
+3
*
push more mutations outside the factory method
Aaron Patterson
2013-08-01
1
-0
/
+4
*
push more mutations out of the builder
Aaron Patterson
2013-08-01
1
-8
/
+9
*
remove dependency on @model when defining callbacks
Aaron Patterson
2013-08-01
1
-3
/
+3
*
extract more mutations to the caller
Aaron Patterson
2013-08-01
1
-6
/
+10
*
separate some mutations from reflection construction
Aaron Patterson
2013-08-01
1
-5
/
+1
*
pass the mixin in to the code generation methods
Aaron Patterson
2013-07-31
1
-6
/
+6
*
we should not allow invalid objects to be constructed
Aaron Patterson
2013-07-31
1
-1
/
+2
*
push some validation up to the factory method
Aaron Patterson
2013-07-31
1
-4
/
+5
*
Refactor to use flat_map
Carlos Antonio da Silva
2013-07-23
1
-3
/
+3
*
AR::Base does not need to know how to create reflection objects
Aaron Patterson
2013-07-22
1
-1
/
+1
*
remove unnecessary reader
Aaron Patterson
2013-07-22
1
-4
/
+4
*
only flatten one side
Aaron Patterson
2013-07-22
1
-1
/
+1
*
extend by adding relationships rather than monkey patching
Aaron Patterson
2013-07-22
1
-5
/
+7
*
decouple extensions from association object state
Aaron Patterson
2013-07-22
1
-2
/
+2
*
Dropped deprecated option `:restrict` for `:dependent` in associations
Neeraj Singh
2013-07-03
1
-7
/
+0
*
remove evals from the association
Aaron Patterson
2013-06-11
1
-8
/
+2
[next]