Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 2 | -23/+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 | 2 | -86/+11 |
| | |||||
* | Updated require for AMo move | Yehuda Katz + Carl Lerche | 2009-06-17 | 1 | -1/+1 |
| | |||||
* | Fix AR json encoding | Jeremy Kemper | 2009-06-08 | 1 | -25/+7 |
| | |||||
* | Break up DependencyModule's dual function of providing a "depend_on" DSL and ↵ | Joshua Peek | 2009-05-28 | 1 | -1/+1 |
| | | | | "included" block DSL into separate modules. But, unify both approaches under AS::Concern. | ||||
* | Cherry-pick core extensions | Jeremy Kemper | 2009-05-13 | 1 | -1/+4 |
| | |||||
* | Use DependencyModule for included hooks in ActiveRecord | Bryan Helmkamp | 2009-05-11 | 1 | -3/+4 |
| | |||||
* | Fix differing rails_to_json arity | Jeremy Kemper | 2009-04-26 | 1 | -3/+6 |
| | |||||
* | * Add pluggable JSON backends with support for the JSON gem. [rick] | rick | 2009-04-23 | 1 | -3/+7 |
| | | | | | | | | | | | | | | Example: ActiveSupport::JSON.backend = "JSONGem" All internal Rails JSON encoding is now handled by ActiveSupport::JSON.encode(). Use of #to_json is not recommended, as it may clash with other libraries that overwrite it. However, you can recover Rails specific functionality if you really want to use #to_json. gem 'json' ActiveSupport::JSON.backend = "JSONGem" class ActiveRecord::Base alias to_json rails_to_json end | ||||
* | Opt in to JSON | Jeremy Kemper | 2009-04-22 | 1 | -0/+2 |
| | |||||
* | 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> | ||||
* | Merge docrails and update the release notes | Pratik Naik | 2009-02-28 | 1 | -0/+19 |
| | |||||
* | 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 | 2 | -19/+19 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Tweak ActiveRecord::Base#to_json to include a root value in the returned ↵ | Rick Olson | 2008-04-01 | 1 | -1/+16 |
| | | | | | | hash: {post: {title: ...}} [rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9202 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Improve documentation. | Pratik Naik | 2008-03-26 | 2 | -40/+57 |
| | | | | 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 | ||||
* | Fix Json related documentation for render and the AR serializer. Closes ↵ | Michael Koziarski | 2007-10-15 | 1 | -0/+53 |
| | | | | | | #9814. Closes #9833. [chuyeow] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7905 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Hash#to_json takes :only or :except options to specific or omit certain hash ↵ | Jeremy Kemper | 2007-10-04 | 1 | -1/+1 |
| | | | | | | keys. Enumerable#to_json passes through its options to each element. Closes #9751. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7736 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 | 2 | -0/+345 |
: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 |