Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | | - Avoid using .first since it will create an additional query. | Marc Chung | 2011-11-22 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | - Handle scenario where @posts is empty. | |||||
| * | | | | Revert "Added links to the 'Rails Initialization Guide', marked as a work in ↵ | Vijay Dev | 2011-11-22 | 2 | -5/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | progress" This reverts commit 6b4939c3fd22924ee3d906f08fe739d848f80a3d. Reason: This guide is still incomplete and is not yet reviewed or ready to go to the index. | |||||
| * | | | | Fix missing single quote that was messing up syntax highlighting. | Robert Ross | 2011-11-21 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | Minor grammar, typo & readability fixes for beginning of Rails ↵ | James Dean Shepherd | 2011-11-20 | 1 | -11/+11 | |
| | | | | | | | | | | | | | | | | | | | | Initialization guide | |||||
| * | | | | Added links to the 'Rails Initialization Guide', marked as a work in progress | James Dean Shepherd | 2011-11-20 | 2 | -0/+5 | |
| | | | | | ||||||
| * | | | | Small docs fix in Active Model callbacks module | Alexey Vakhov | 2011-11-19 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | Some fixes on RELEASING_RAILS.rdoc. | Hendy Tanata | 2011-11-18 | 1 | -3/+3 | |
| | | | | | ||||||
| * | | | | Add config.active_record.identity_map to the configuration guide. | Matt Burke | 2011-11-18 | 1 | -0/+2 | |
| | | | | | ||||||
* | | | | | removes a Serialization constant left in the previous revert | Xavier Noria | 2011-11-25 | 1 | -1/+0 | |
| | | | | | ||||||
* | | | | | finders guide: adds some pointers to help users interpret the output of EXPLAIN | Xavier Noria | 2011-11-25 | 1 | -0/+11 | |
| | | | | | ||||||
* | | | | | add the query to AR::Relation#explain output | Xavier Noria | 2011-11-25 | 5 | -2/+17 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rationale: this is more readable if serveral queries are involved in one call. Also, it will be possible to let AR log EXPLAINs automatically in production mode, where queries are not even around. | |||||
* | | | | | some tweaks to PR#3547. [Closes #3547] | Xavier Noria | 2011-11-25 | 3 | -8/+18 | |
| | | | | | ||||||
* | | | | | API docstrings updated with default value info | gregolsen | 2011-11-25 | 2 | -6/+6 | |
| | | | | | ||||||
* | | | | | beginning_of_week extended in both Time and Date so that to return week ↵ | gregolsen | 2011-11-25 | 5 | -20/+76 | |
| | | | | | | | | | | | | | | | | | | | | start based on start day that is monday by default | |||||
* | | | | | Revert the serializers API as other alternatives are now also under discussion | José Valim | 2011-11-25 | 18 | -1268/+1 | |
| | | | | | ||||||
* | | | | | Merge pull request #3756 from ↵ | José Valim | 2011-11-25 | 2 | -7/+10 | |
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | johnmdonahue/update-gem-action-linebreaks-and-indentation Updating newline fix to maintain existing linebreaks and indentation and... | |||||
| * | | | | | Updating newline fix to maintain existing linebreaks and indentation and ↵ | John Donahue | 2011-11-25 | 2 | -7/+10 | |
|/ / / / / | | | | | | | | | | | | | | | | test for b/eol on inserts | |||||
* | | | | | Merge pull request #3747 from lest/middleware-logger | José Valim | 2011-11-25 | 8 | -32/+37 | |
|\ \ \ \ \ | | | | | | | | | | | | | middlewares should have configurable logger | |||||
| * | | | | | middlewares should use logger from env | lest | 2011-11-25 | 8 | -32/+37 | |
| | |_|/ / | |/| | | | ||||||
* | | | | | I suck, forgot to also change rake's task description | Piotr Sarnacki | 2011-11-25 | 1 | -1/+1 | |
| | | | | | ||||||
* | | | | | Display mounted engines in `rake routes` by default | Piotr Sarnacki | 2011-11-25 | 3 | -6/+2 | |
| | | | | | ||||||
* | | | | | Merge branch 'serializers' | José Valim | 2011-11-25 | 35 | -482/+2074 | |
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements the ActiveModel::Serializer object. Includes code, tests, generators and guides. From José and Yehuda with love. Conflicts: railties/CHANGELOG.md | |||||
| * | | | | | Add docs to serializers. Update CHANGELOGs. | José Valim | 2011-11-25 | 4 | -13/+114 | |
| | | | | | | ||||||
| * | | | | | Add a hook for serializers in the scaffold generator (off for now). | José Valim | 2011-11-25 | 3 | -1/+13 | |
| | | | | | | ||||||
| * | | | | | Add generators for serializers. | José Valim | 2011-11-25 | 6 | -0/+142 | |
| | | | | | | ||||||
| * | | | | | Rename UserSerializer to DefaultUserSerializer in tests. | José Valim | 2011-11-23 | 1 | -15/+13 | |
| | | | | | | ||||||
| * | | | | | Rely solely on active_model_serializer and remove the fancy constant lookup. | José Valim | 2011-11-23 | 7 | -79/+41 | |
| | | | | | | ||||||
| * | | | | | Remove listings from the serialization guide that won't make 3.2. | José Valim | 2011-11-23 | 1 | -37/+0 | |
| | | | | | | ||||||
| * | | | | | Implement ArraySerializer and move old serialization API to a new namespace. | José Valim | 2011-11-23 | 15 | -436/+610 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following constants were renamed: ActiveModel::Serialization => ActiveModel::Serializable ActiveModel::Serializers::JSON => ActiveModel::Serializable::JSON ActiveModel::Serializers::Xml => ActiveModel::Serializable::XML The main motivation for such a change is that `ActiveModel::Serializers::JSON` was not actually a serializer, but a module that when included allows the target to be serializable to JSON. With such changes, we were able to clean up the namespace to add true serializers as the ArraySerializer. | |||||
| * | | | | | Add safe_constantize to ActiveSupport::Dependencies. | José Valim | 2011-11-23 | 2 | -28/+43 | |
| | | | | | | ||||||
| * | | | | | Merge branch 'master' into serializers | José Valim | 2011-11-23 | 282 | -19051/+21651 | |
| |\ \ \ \ \ | ||||||
| * | | | | | | Remove 1.9 Hash syntax - tests passing on 1.8.7 | Jose and Yehuda | 2011-10-15 | 1 | -3/+3 | |
| | | | | | | | ||||||
| * | | | | | | Add initial support for embed API | Jose and Yehuda | 2011-10-15 | 2 | -7/+101 | |
| | | | | | | | ||||||
| * | | | | | | Add support for the root attribute | Jose and Yehuda | 2011-10-15 | 2 | -15/+74 | |
| | | | | | | | ||||||
| * | | | | | | Fix nil has_one association | Jose and Yehuda | 2011-10-15 | 2 | -2/+20 | |
| | | | | | | | ||||||
| * | | | | | | Add association_ids | Jose and Yehuda | 2011-10-15 | 2 | -2/+89 | |
| | | | | | | | ||||||
| * | | | | | | Add support for overriding associations, mostly used for authorization | Jose and Yehuda | 2011-10-15 | 2 | -1/+31 | |
| | | | | | | | ||||||
| * | | | | | | Add support for implicit serializers | Jose and Yehuda | 2011-10-15 | 2 | -26/+72 | |
| | | | | | | | ||||||
| * | | | | | | Added has_one and has_many | Jose and Yehuda | 2011-10-15 | 2 | -14/+123 | |
| | | | | | | | ||||||
| * | | | | | | Don't unnecessarily use String eval. | Jose and Yehuda | 2011-10-15 | 1 | -2/+2 | |
| | | | | | | | ||||||
| * | | | | | | Don't require serializable_hash to take options. | Jose and Yehuda | 2011-10-15 | 2 | -3/+3 | |
| | | | | | | | ||||||
| * | | | | | | minor edits in serializers guide | Vijay Dev | 2011-10-15 | 1 | -9/+9 | |
| | | | | | | | ||||||
| * | | | | | | Initial implementation of ActiveModel::Serializer | Jose and Yehuda | 2011-10-15 | 3 | -0/+122 | |
| | | | | | | | ||||||
| * | | | | | | Refactor to make renderers a Set | Jose and Yehuda | 2011-10-15 | 1 | -11/+9 | |
| | | | | | | | ||||||
| * | | | | | | Initial commit of serializer support | Jose and Yehuda | 2011-10-15 | 5 | -0/+662 | |
| | | | | | | | ||||||
* | | | | | | | Merge pull request #3752 from ganeshkumar/gem_lending | José Valim | 2011-11-25 | 2 | -2/+2 | |
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | | Added tests for #3751 | |||||
| * | | | | | | Added tests for #3751 | ganesh | 2011-11-25 | 2 | -2/+2 | |
|/ / / / / / | ||||||
* | | | | | | Allow to display engine's routes when running `rake routes ENGINES=true` | Piotr Sarnacki | 2011-11-24 | 4 | -6/+70 | |
| | | | | | | ||||||
* | | | | | | Merge pull request #3746 from qoobaa/active-model-naming-with-anonymous-classes | Piotr Sarnacki | 2011-11-24 | 2 | -0/+16 | |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | make ActiveModel::Name fail gracefully with anonymous classes | |||||
| * | | | | | | make ActiveModel::Name fail gracefully with anonymous classes | Jakub Kuźma | 2011-11-24 | 2 | -0/+16 | |
|/ / / / / / |