Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove extra white spaces on ActiveRecord docs. | Sebastian Martinez | 2011-05-23 | 1 | -1/+1 |
| | |||||
* | dry up compute type in attribute | Aaron Patterson | 2010-12-15 | 1 | -16/+10 |
| | |||||
* | to_xml doesn't work in such case: Event.select('title as t').to_xml [#4840 ↵ | Víctor Martínez | 2010-12-15 | 1 | -2/+8 |
| | | | | | | state:resolved] NilClass.type is no longer defined in Ruby 1.9 and causes ActiveRecord::Base.to_xml to fail with message: undefined method `type' for nil:NilClass | ||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -1/+1 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | to_xml with :include should skip_instruct on the included records [#4506 ↵ | Lawrence Pit | 2010-04-30 | 1 | -1/+1 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Move several configuration values from Hash to ActiveSupport::XmlMini, which ↵ | José Valim | 2010-04-29 | 1 | -50/+35 |
| | | | | | | both Hash and Array depends on. Also, refactored ActiveModel serializers to just use ActiveSupport::XmlMini.to_tag. As consequence, if a serialized attribute is an array or a hash, it's not encoded as yaml, but as a hash or array. | ||||
* | Speed up xml serializer by computing values just once and remove unecessary ↵ | José Valim | 2010-04-22 | 1 | -11/+0 |
| | | | | code duplication. | ||||
* | Avoid deprecated String#to_a by using Array.wrap(...) instead of Array(...) | Jeremy Kemper | 2010-04-10 | 1 | -1/+2 |
| | |||||
* | Break up concerns for choosing what attributes should be serialized and the ↵ | Joshua Peek | 2009-08-13 | 1 | -9/+10 |
| | | | | actual serializer | ||||
* | Patch to ActiveModel's (and ActiveRecord, by association) XML serialization: ↵ | John Maxwell | 2009-07-22 | 1 | -0/+15 |
| | | | | | | If two parameters are present in Procs supplied to to_xml's :procs option, the model being serialized will be passed as the second argument [#2373 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Integrate AMo XML serializer into AR | Joshua Peek | 2009-07-11 | 1 | -109/+4 |
| | |||||
* | Integrate AMo JSON serializer into AR | Joshua Peek | 2009-07-03 | 1 | -5/+7 |
| | |||||
* | Cherry-pick core extensions | Jeremy Kemper | 2009-05-13 | 1 | -1/+4 |
| | |||||
* | Ensure ActiveRecord#to_xml respects :skip_types for included associations ↵ | Bruce Krysiak | 2009-03-10 | 1 | -6/+12 |
| | | | | | | [#1632 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Added a :camelize option to ActiveRecord and Hash to_xml serialization and ↵ | Bruce Krysiak | 2008-12-10 | 1 | -7/+16 |
| | | | | | | from_xml deserialization Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Merge docrails. | Pratik Naik | 2008-05-25 | 1 | -3/+3 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Improve documentation coverage and markup | Xavier Noria | 2008-05-02 | 1 | -15/+15 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Improve documentation. | Pratik Naik | 2008-03-26 | 1 | -17/+40 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9093 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fixed that to_xml should not automatically pass :procs to associations ↵ | David Heinemeier Hansson | 2007-12-03 | 1 | -8/+10 |
| | | | | | | included with :include (closes #10162) [chuyeow] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8258 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Base#to_xml supports the nil="true" attribute like Hash#to_xml. Closes #8268. | Jeremy Kemper | 2007-11-14 | 1 | -0/+4 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8138 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Smattering of grammatical fixes to documentation. Closes #10083 [BobSilva] | Marcel Molina | 2007-11-08 | 1 | -2/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8113 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add missing file for revision #8090 | Marcel Molina | 2007-11-06 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8092 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fixed spelling errors (closes #9706) [tarmo/rmm5t] | David Heinemeier Hansson | 2007-09-28 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added :include option to to_json (closes #9677) [chuyeow] | David Heinemeier Hansson | 2007-09-28 | 1 | -56/+38 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7663 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added ActiveRecord::Base#to_json/from_json (currently does not support ↵ | David Heinemeier Hansson | 2007-09-20 | 1 | -0/+327 |
:include like to_xml) [DHH]. Added ActiveRecord::Base#from_xml [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7519 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |