1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib
Rafael Mendonça França b584cc68fc Use _read_attribute(primary_key) instead of id
This will avoid the indirection of having calling id since we already
know which is the primary key column.

Also this will make explicit the behavior since it is not clear that id
gets the right primary key value and not just the value of the "id"
column.
2015-04-19 17:14:08 -04:00
..
active_record Use _read_attribute(primary_key) instead of id 2015-04-19 17:14:08 -04:00
rails/generators Add Secure Token Generator 2015-01-11 14:42:54 -05:00
active_record.rb Batch touch parent records 2015-04-08 13:31:28 -04:00