- 04 12月, 2011 23 次提交
-
-
由 Jason Noble 提交于
-
由 Jason Noble 提交于
-
由 Jason Noble 提交于
-
由 Jason Noble 提交于
-
由 Jason Noble 提交于
-
由 Jason Noble 提交于
-
由 Jason Noble 提交于
-
由 Jason Noble 提交于
-
由 Jason Noble 提交于
-
由 Jason Noble 提交于
-
由 Jason Noble 提交于
-
由 Jason Noble 提交于
-
由 Jason Noble 提交于
-
由 Jason Noble 提交于
-
由 Jason Noble 提交于
-
由 Jason Noble 提交于
-
由 Jason Noble 提交于
-
由 Jason Noble 提交于
-
由 Jason Noble 提交于
-
由 Jason Noble 提交于
-
由 Jason Noble 提交于
-
由 Jason Noble 提交于
-
由 Ryan Bigg 提交于
-
- 03 12月, 2011 6 次提交
-
-
由 Vijay Dev 提交于
-
由 Vijay Dev 提交于
-
由 Arun Agrawal 提交于
-
由 Xavier Noria 提交于
indentation fix warning
-
由 Arun Agrawal 提交于
-
由 Xavier Noria 提交于
-
- 02 12月, 2011 11 次提交
-
-
由 Jon Leighton 提交于
This reverts commit f6b50463. Fear not, the roflscale will return when I have a bit more time and figure out a better way to do it. (In particular, a way that doesn't break the build.)
-
由 Xavier Noria 提交于
-
由 David Heinemeier Hansson 提交于
-
由 José Valim 提交于
-
由 Arun Agrawal 提交于
-
由 Arun Agrawal 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
Don't prefix the name with attribute_. Avoids a string allocation on read_attribute, which is a bit faster.
-
由 Jon Leighton 提交于
This means we never have to rely on define_method (which is slower and uses more memory), even when we have attributes containing characters that are not allowed in standard method names. (I am mainly changing this because the duplication annoys me, though.)
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
Also make it actually work. It slows down all read_attribute accesses to map 'id' to whatever the PK actually is, inside read_attribute. So instead make sure the necessary methods are defined and that they redirect wherever they need to go.
-