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
/
attribute_methods
Commit message (
Expand
)
Author
Age
Files
Lines
*
The primary key is always initialized in the @attributes hash to nil (unless
Aaron Patterson
2012-01-25
1
-5
/
+1
*
use fetch rather than both Hash#key? and Hash#[]
Aaron Patterson
2012-01-25
1
-49
/
+51
*
Revert "just use an alias. The target method is public, so make this one pub...
Aaron Patterson
2012-01-20
1
-1
/
+4
*
just use an alias. The target method is public, so make this one public
Aaron Patterson
2012-01-19
1
-4
/
+1
*
Expanded rdoc about primary keys being protected from mass assignment.
Joost Baaij
2012-01-06
1
-1
/
+2
*
Support configuration on ActiveRecord::Model.
Jon Leighton
2011-12-28
4
-6
/
+10
*
Deal with global config better between AR::Base and AR::Model
Jon Leighton
2011-12-24
2
-7
/
+3
*
Doh, remove debugging line
Jon Leighton
2011-12-23
1
-1
/
+0
*
Fix #4046.
Jon Leighton
2011-12-23
1
-4
/
+3
*
Make read_attribute code path accessible at the class level
Jon Leighton
2011-12-22
2
-27
/
+33
*
remove deprecated set and original methods for table_name, primary_key, etc
Sergey Nartimov
2011-12-21
1
-9
/
+0
*
remove deprecated underscore versions of attribute methods
Sergey Nartimov
2011-12-21
1
-32
/
+0
*
Fix the build on postgres. Note: we should probably actually make schema muta...
Jon Leighton
2011-12-16
1
-1
/
+1
*
Don't store defaults in the schema cache
Jon Leighton
2011-12-16
1
-2
/
+2
*
Cache columns at the model level.
Jon Leighton
2011-12-16
1
-2
/
+0
*
Split out most of the AR::Base code into separate modules :cake:
Jon Leighton
2011-12-15
1
-0
/
+12
*
Fix #3987.
Jon Leighton
2011-12-15
1
-0
/
+2
*
Stop the build asploding on 1.8.7
Jon Leighton
2011-12-14
1
-0
/
+2
*
Use a separate module for 'external' attribute methods.
Jon Leighton
2011-12-14
2
-17
/
+12
*
use the schema cache when asking for the primary key
Aaron Patterson
2011-12-12
1
-1
/
+1
*
fixing eval'd line numbers.
Aaron Patterson
2011-12-08
1
-2
/
+2
*
Fix #3837.
Jon Leighton
2011-12-03
1
-11
/
+5
*
Revert "Roflscaling!" (for now)
Jon Leighton
2011-12-02
2
-8
/
+11
*
Fewer string allocations in attribute method
Jon Leighton
2011-12-01
1
-4
/
+4
*
Roflscaling!
Jon Leighton
2011-12-01
2
-11
/
+8
*
Create method with known identifier then alias into place.
Jon Leighton
2011-12-01
1
-25
/
+21
*
Remove some unnecessary code etc
Jon Leighton
2011-12-01
2
-26
/
+11
*
Add test for read_attribute(:id) with non-standard PK.
Jon Leighton
2011-12-01
2
-4
/
+18
*
Remove the need for type_cast_attribute.
Jon Leighton
2011-12-01
3
-42
/
+47
*
Get rid of the underscore versions of attribute methods!
Jon Leighton
2011-12-01
3
-6
/
+33
*
Don't rely on underscore-prefixed attribute methods.
Jon Leighton
2011-12-01
3
-48
/
+80
*
If the table behind has no primary key, do not ask again and just return nil.
Julius de Bruijn
2011-11-30
1
-1
/
+2
*
consistency
Jon Leighton
2011-11-30
3
-16
/
+16
*
Don't check column type, you might implement a custom coder that serializes t...
Jon Leighton
2011-11-30
1
-1
/
+1
*
omg computer science!
Jon Leighton
2011-11-30
2
-22
/
+44
*
Don't need second param
Jon Leighton
2011-11-30
2
-4
/
+4
*
No longer need to undef id as we are defining it ourselves
Jon Leighton
2011-11-30
1
-3
/
+0
*
Move some serialization stuff out of Base
Jon Leighton
2011-11-30
1
-0
/
+42
*
Extract attribute serialization code into a separate module
Jon Leighton
2011-11-30
2
-28
/
+47
*
Use inheritance to avoid special-case code for the 'id' method
Jon Leighton
2011-11-30
3
-8
/
+20
*
#id is an alias for whatever the primary key is
Jon Leighton
2011-11-30
1
-1
/
+1
*
fix indent
Jon Leighton
2011-11-30
1
-3
/
+3
*
Deprecate set_primary_key in favour of self.primary_key=
Jon Leighton
2011-11-29
1
-20
/
+26
*
Speed up attribute invocation by checking if both name and calls are compilable.
José Valim
2011-11-14
2
-2
/
+2
*
Revert "Raise error on unknown primary key."
Jon Leighton
2011-10-05
3
-11
/
+4
*
Raise error on unknown primary key.
Jon Leighton
2011-10-05
3
-4
/
+11
*
Don't require a DB connection when setting primary key.
Jon Leighton
2011-09-26
1
-1
/
+0
*
Raise error when using write_attribute with a non-existent attribute.
Jon Leighton
2011-09-13
1
-3
/
+7
*
Add deprecation for doing `attribute_method_suffix ''`
Jon Leighton
2011-09-13
1
-2
/
+0
*
Alias id= if necessary, rather than relying on method_missing
Jon Leighton
2011-09-13
1
-0
/
+4
[next]