aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | - Avoid using .first since it will create an additional query. Marc Chung2011-11-221-1/+1
| | | | | | | | | | | | | | | - Handle scenario where @posts is empty.
| * | | | Revert "Added links to the 'Rails Initialization Guide', marked as a work in ↵Vijay Dev2011-11-222-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 Ross2011-11-211-1/+1
| | | | |
| * | | | Minor grammar, typo & readability fixes for beginning of Rails ↵James Dean Shepherd2011-11-201-11/+11
| | | | | | | | | | | | | | | | | | | | Initialization guide
| * | | | Added links to the 'Rails Initialization Guide', marked as a work in progressJames Dean Shepherd2011-11-202-0/+5
| | | | |
| * | | | Small docs fix in Active Model callbacks moduleAlexey Vakhov2011-11-191-1/+1
| | | | |
| * | | | Some fixes on RELEASING_RAILS.rdoc.Hendy Tanata2011-11-181-3/+3
| | | | |
| * | | | Add config.active_record.identity_map to the configuration guide.Matt Burke2011-11-181-0/+2
| | | | |
* | | | | removes a Serialization constant left in the previous revertXavier Noria2011-11-251-1/+0
| | | | |
* | | | | finders guide: adds some pointers to help users interpret the output of EXPLAINXavier Noria2011-11-251-0/+11
| | | | |
* | | | | add the query to AR::Relation#explain outputXavier Noria2011-11-255-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 Noria2011-11-253-8/+18
| | | | |
* | | | | API docstrings updated with default value infogregolsen2011-11-252-6/+6
| | | | |
* | | | | beginning_of_week extended in both Time and Date so that to return week ↵gregolsen2011-11-255-20/+76
| | | | | | | | | | | | | | | | | | | | start based on start day that is monday by default
* | | | | Revert the serializers API as other alternatives are now also under discussionJosé Valim2011-11-2518-1268/+1
| | | | |
* | | | | Merge pull request #3756 from ↵José Valim2011-11-252-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 Donahue2011-11-252-7/+10
|/ / / / / | | | | | | | | | | | | | | | test for b/eol on inserts
* | | | | Merge pull request #3747 from lest/middleware-loggerJosé Valim2011-11-258-32/+37
|\ \ \ \ \ | | | | | | | | | | | | middlewares should have configurable logger
| * | | | | middlewares should use logger from envlest2011-11-258-32/+37
| | |_|/ / | |/| | |
* | | | | I suck, forgot to also change rake's task descriptionPiotr Sarnacki2011-11-251-1/+1
| | | | |
* | | | | Display mounted engines in `rake routes` by defaultPiotr Sarnacki2011-11-253-6/+2
| | | | |
* | | | | Merge branch 'serializers'José Valim2011-11-2535-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é Valim2011-11-254-13/+114
| | | | | |
| * | | | | Add a hook for serializers in the scaffold generator (off for now).José Valim2011-11-253-1/+13
| | | | | |
| * | | | | Add generators for serializers.José Valim2011-11-256-0/+142
| | | | | |
| * | | | | Rename UserSerializer to DefaultUserSerializer in tests.José Valim2011-11-231-15/+13
| | | | | |
| * | | | | Rely solely on active_model_serializer and remove the fancy constant lookup.José Valim2011-11-237-79/+41
| | | | | |
| * | | | | Remove listings from the serialization guide that won't make 3.2.José Valim2011-11-231-37/+0
| | | | | |
| * | | | | Implement ArraySerializer and move old serialization API to a new namespace.José Valim2011-11-2315-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é Valim2011-11-232-28/+43
| | | | | |
| * | | | | Merge branch 'master' into serializersJosé Valim2011-11-23282-19051/+21651
| |\ \ \ \ \
| * | | | | | Remove 1.9 Hash syntax - tests passing on 1.8.7Jose and Yehuda2011-10-151-3/+3
| | | | | | |
| * | | | | | Add initial support for embed APIJose and Yehuda2011-10-152-7/+101
| | | | | | |
| * | | | | | Add support for the root attributeJose and Yehuda2011-10-152-15/+74
| | | | | | |
| * | | | | | Fix nil has_one associationJose and Yehuda2011-10-152-2/+20
| | | | | | |
| * | | | | | Add association_idsJose and Yehuda2011-10-152-2/+89
| | | | | | |
| * | | | | | Add support for overriding associations, mostly used for authorizationJose and Yehuda2011-10-152-1/+31
| | | | | | |
| * | | | | | Add support for implicit serializersJose and Yehuda2011-10-152-26/+72
| | | | | | |
| * | | | | | Added has_one and has_manyJose and Yehuda2011-10-152-14/+123
| | | | | | |
| * | | | | | Don't unnecessarily use String eval.Jose and Yehuda2011-10-151-2/+2
| | | | | | |
| * | | | | | Don't require serializable_hash to take options.Jose and Yehuda2011-10-152-3/+3
| | | | | | |
| * | | | | | minor edits in serializers guideVijay Dev2011-10-151-9/+9
| | | | | | |
| * | | | | | Initial implementation of ActiveModel::SerializerJose and Yehuda2011-10-153-0/+122
| | | | | | |
| * | | | | | Refactor to make renderers a SetJose and Yehuda2011-10-151-11/+9
| | | | | | |
| * | | | | | Initial commit of serializer supportJose and Yehuda2011-10-155-0/+662
| | | | | | |
* | | | | | | Merge pull request #3752 from ganeshkumar/gem_lendingJosé Valim2011-11-252-2/+2
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | Added tests for #3751
| * | | | | | Added tests for #3751ganesh2011-11-252-2/+2
|/ / / / / /
* | | | | | Allow to display engine's routes when running `rake routes ENGINES=true`Piotr Sarnacki2011-11-244-6/+70
| | | | | |
* | | | | | Merge pull request #3746 from qoobaa/active-model-naming-with-anonymous-classesPiotr Sarnacki2011-11-242-0/+16
|\ \ \ \ \ \ | | | | | | | | | | | | | | make ActiveModel::Name fail gracefully with anonymous classes
| * | | | | | make ActiveModel::Name fail gracefully with anonymous classesJakub Kuźma2011-11-242-0/+16
|/ / / / / /