Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improve readability | Jason Noble | 2011-12-03 | 1 | -2/+2 |
| | |||||
* | Readability improvements | Jason Noble | 2011-12-03 | 1 | -1/+1 |
| | |||||
* | Move this into a section so that "Resetting the database" will show up in TOC | Jason Noble | 2011-12-03 | 1 | -1/+3 |
| | |||||
* | Change wording to be more explicit on what migrating with a version does | Jason Noble | 2011-12-03 | 1 | -2/+3 |
| | |||||
* | Migrations can also run the "change" method | Jason Noble | 2011-12-03 | 1 | -3/+3 |
| | |||||
* | Reword section to make it more readable. | Jason Noble | 2011-12-03 | 1 | -4/+7 |
| | |||||
* | We're using methods, not writing them | Jason Noble | 2011-12-03 | 1 | -1/+1 |
| | |||||
* | Change wording to be more understandable | Jason Noble | 2011-12-03 | 1 | -2/+2 |
| | |||||
* | We're using the method, not writing it | Jason Noble | 2011-12-03 | 1 | -1/+1 |
| | |||||
* | Change The other... to Another... | Jason Noble | 2011-12-03 | 1 | -1/+1 |
| | |||||
* | Reword confusing section | Jason Noble | 2011-12-03 | 1 | -4/+2 |
| | |||||
* | Correct grammatical errors | Jason Noble | 2011-12-03 | 1 | -2/+2 |
| | |||||
* | It's more that Rails needs to know how to recreate the columns | Jason Noble | 2011-12-03 | 1 | -1/+1 |
| | |||||
* | Added "also" to read better | Jason Noble | 2011-12-03 | 1 | -1/+1 |
| | |||||
* | Explain the t.timestamps method a little better | Jason Noble | 2011-12-03 | 1 | -3/+4 |
| | |||||
* | Re-word confusing section | Jason Noble | 2011-12-03 | 1 | -4/+3 |
| | |||||
* | Rollback is used elsewhere in the tutorial | Jason Noble | 2011-12-03 | 1 | -1/+1 |
| | |||||
* | Alphabetize fields to make reading easier | Jason Noble | 2011-12-03 | 1 | -8/+31 |
| | |||||
* | Improve wording, fix some formatting issues | Jason Noble | 2011-12-03 | 1 | -4/+5 |
| | |||||
* | Constrained to 80 chars per line | Jason Noble | 2011-12-03 | 1 | -173/+367 |
| | |||||
* | Update layouts and rendering guide javascript_include_tag to bring it in ↵ | Ryan Bigg | 2011-12-04 | 1 | -5/+42 |
| | | | | line with Rails 3.1 | ||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2011-12-02 | 5 | -11/+14 |
|\ | |||||
| * | Added doc about pluck for active_support core ext | Arun Agrawal | 2011-12-02 | 1 | -0/+10 |
| | | |||||
| * | [Docs] Information about ActionDispatch::DebugExceptions in rake task | Arun Agrawal | 2011-12-02 | 1 | -0/+1 |
| | | |||||
| * | Adding information about ActionDispatch::DebugExceptions | Arun Agrawal | 2011-12-02 | 1 | -1/+1 |
| | | |||||
| * | [docs] removed last-modifed line from examples | Richard Hulse | 2011-12-02 | 1 | -8/+0 |
| | | | | | | | | | | | | | | 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 | ||||
| * | fixed finger-dyslexia in active_support core extensions guide | Tim Sjoberg | 2011-12-01 | 1 | -1/+1 |
| | | |||||
| * | typo in the performance testing rails guide | Leandro Santos | 2011-11-30 | 1 | -1/+1 |
| | | |||||
* | | rephrase doc on explain threshold | Vijay Dev | 2011-12-02 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #3832 from arunagw/indentation | Xavier Noria | 2011-12-02 | 1 | -1/+1 |
|\ \ | | | | | | | indentation fix warning | ||||
| * | | indentation fix warning | Arun Agrawal | 2011-12-02 | 1 | -1/+1 |
|/ / | |||||
* | | revises some details in the previous explain patch | Xavier Noria | 2011-12-02 | 3 | -4/+4 |
| | | |||||
* | | Revert "Roflscaling!" (for now) | Jon Leighton | 2011-12-02 | 2 | -8/+11 |
| | | | | | | | | | | | | | | | | This reverts commit f6b5046305d43c5f64bcb6fed0e44f7bca99a603. 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.) | ||||
* | | implements automatic EXPLAIN logging for slow queries | Xavier Noria | 2011-12-02 | 18 | -96/+354 |
| | | |||||
* | | Added Enumerable#pluck to wrap the common pattern of collect(&:method) *DHH* | David Heinemeier Hansson | 2011-12-02 | 3 | -3/+19 |
| | | |||||
* | | Try to play nice with plugins doing monkey patches. | José Valim | 2011-12-02 | 1 | -0/+5 |
| | | |||||
* | | Fewer string allocations in attribute method | Jon Leighton | 2011-12-01 | 1 | -4/+4 |
| | | |||||
* | | Roflscaling! | Jon Leighton | 2011-12-01 | 2 | -11/+8 |
| | | | | | | | | | | Don't prefix the name with attribute_. Avoids a string allocation on read_attribute, which is a bit faster. | ||||
* | | Create method with known identifier then alias into place. | Jon Leighton | 2011-12-01 | 2 | -25/+23 |
| | | | | | | | | | | | | | | | | 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.) | ||||
* | | 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 | 3 | -4/+23 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | | Remove the need for type_cast_attribute. | Jon Leighton | 2011-12-01 | 5 | -43/+52 |
| | | | | | | | | This is good because it reduces duplication. | ||||
* | | Fix up test altering global state that was causing me grief | Jon Leighton | 2011-12-01 | 1 | -2/+4 |
| | | |||||
* | | Get rid of the underscore versions of attribute methods! | Jon Leighton | 2011-12-01 | 6 | -6/+40 |
| | | | | | | | | This makes me happy! | ||||
* | | Don't rely on underscore-prefixed attribute methods. | Jon Leighton | 2011-12-01 | 3 | -48/+80 |
| | | | | | | | | | | | | 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 | ||||
* | | Remove unnecessary *args | Jon Leighton | 2011-12-01 | 1 | -2/+2 |
| | | |||||
* | | Merge branch 'exceptions' with the following features: | José Valim | 2011-12-01 | 16 | -254/+406 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
| * | | Remove unnecessary test setup. | José Valim | 2011-12-01 | 1 | -6/+1 |
| | | | |||||
| * | | Split and improve show and debug exceptions middlewares. | José Valim | 2011-12-01 | 4 | -89/+145 |
| | | | |||||
| * | | Split ShowExceptions responsibilities in two middlewares. | José Valim | 2011-12-01 | 10 | -95/+130 |
| | | |