- 04 12月, 2011 12 次提交
-
-
由 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 22 次提交
-
-
由 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.
-
由 Jon Leighton 提交于
This is good because it reduces duplication.
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
This makes me happy!
-
由 Jon Leighton 提交于
Define singleton methods on the attributes module instead. This reduces method pollution on the actual model classes. It also seems to make something faster, I am unsure why! O_o
-
由 Jon Leighton 提交于
-
由 Richard Hulse 提交于
This is no longer best-practice. ref: http://stackoverflow.com/questions/8344186/rails-3-1-on-apache-pagespeed-says-specify-cache-validator-when-using-asset-p/8348385#8348385
-
由 José Valim 提交于
* A Railtie API for registering new exceptions and their respective status code (check Active Record railtie for an example) * Extraction of ShowExceptions middleware logging and debugging features into a middleware called DebugExceptions Conflicts: actionpack/CHANGELOG.md
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 David Heinemeier Hansson 提交于
Revert "Added ActiveRecord::Base#last_modified to work with the new fresh_when/stale? conditional get methods from Action Pack" Needless indirection with no added value. This reverts commit 535853e8.
-