Commit Graph

100 Commits

Author SHA1 Message Date
Steve Klabnik
e41eedd4dd Merge pull request #630 from sachse/readme-fix
README: Change :embed_key to :key
2014-09-25 19:41:50 -04:00
Steve Klabnik
21fe89e9bb Merge pull request #634 from craiglittle/fix-meta-documentation
Fix meta_key/meta documentation for v0.9.x series
2014-09-25 19:39:22 -04:00
Alexander
1d95ad889e Add note for serialization usage outside of ActionController::Base
Applicable to rails-api gem.
2014-09-08 00:40:16 +03:00
Craig Little
e9008439d3 Fix meta_key/meta documentation
This updates the documentation to reflect the behavior implemented by
the v0.9.x series. Note that this behavior differs from that of the
v0.8.x series, which is reflected by the current documentation.

Consideration should be given to patching the v0.9.x series to revert
back to the v0.8.x behavior since I'm not entirely sure if this slight
change was intentional, but for the time being, this at least documents
the existing behavior correctly.
2014-09-03 14:02:57 -07:00
Kristoffer
5075436673 Change :embed_key to :key 2014-09-03 08:46:44 +02:00
Kristoffer
d6735749b3 Fix another symbol related typo 2014-09-02 22:29:22 +02:00
Kristoffer
4abcd3209e String to symbol 2014-09-02 22:23:58 +02:00
Pol Miro
09a166b76b Document polymorphic associations in README.md 2014-08-25 23:32:09 -07:00
Steve Klabnik
55831dd2b0 update README 2014-08-22 16:17:46 -04:00
Steve Klabnik
3c124e8ce5 Clarify README wrt POROs
Closes #556.
2014-08-22 14:52:39 -04:00
Stanley Stuart
e650863c6d fix tests from rebasing master for embed_namespace 2014-08-13 11:38:01 -05:00
Steve Klabnik
045ba2a48c Merge pull request #534 from kylefritz/master
Support lowerCamel key format
2014-07-28 12:43:36 -04:00
Steve Klabnik
55fc6536fe Remove Coveralls
Coveralls is fine, but it's interfering with Travis somehow.
2014-07-04 22:11:49 -04:00
Steve Klabnik
0c2691a46d Merge pull request #518 from ebouchut/patch-2
Fix a typo.
2014-07-04 18:30:57 -07:00
Steve Klabnik
eb06f0315f Merge pull request #517 from ebouchut/patch-1
Fix a typo.
2014-07-04 18:30:53 -07:00
Kyle Fritz
00c54baae3 Support lowerCamel key format 2014-03-30 12:31:21 -04:00
Matjaz Muhic
d9ff6db36d Adds an example for using ArraySerializer under Render independently. 2014-03-06 19:53:24 +01:00
Eric Bouchut
0465bc2b8e Fix a typo. 2014-02-20 14:22:38 +01:00
Eric Bouchut
4eee8eed50 Fix a typo. 2014-02-20 12:56:36 +01:00
Santiago Pastorino
2792210a88 Merge pull request #494 from billychan/add-doc-independent-usage
add doc for use serailizer independently
2014-02-04 12:37:03 -08:00
Santiago Pastorino
d985e6424c Merge pull request #462 from fab/master
Generator now properly detects ApplicationSerializer
2014-02-04 10:05:03 -08:00
Fab Mackojc
74d3398016 Update docs to explain ApplicationSerializer feature 2014-02-01 21:37:22 +11:00
Billy
b4cd4cd5ba add doc for use serailizer independently 2014-01-23 11:46:07 +08:00
Jérémy Lecour
e1f84c26ee Mention the options and UrlHelpers issue 2014-01-09 15:23:09 +01:00
Sherwin Yu
18336d7699 Update README.md explaining that Serializer#filter needs to return an array 2013-12-26 18:01:27 -05:00
Arthur Neves
c001e964fe Add note about master on README 2013-11-01 14:41:04 -04:00
Mikael Henriksson
dcc4f27f63 Fix root initializer documentation
Removed the on load stuff since there is no autoloading in AMS anymore.
2013-10-26 22:13:34 +02:00
Chris Ball
3b9b4d728a Update README to reflect override of json key in associations 2013-10-26 10:08:20 -04:00
John Bower
3df8667708 Added note that objects will not be side-loaded if root is set to false 2013-10-25 16:32:23 -05:00
Tee Parham
6ed4598953 readme: move "Design and Implementation Guidelines" to the bottom
* rename "Design and Implementation" section to "Design and Implementation Guidelines"
2013-10-25 10:07:35 -06:00
Tee Parham
fa3213e231 readme: clarify purpose 2013-10-25 09:36:27 -06:00
Tee Parham
b65715d5f8 split readme badges onto different lines 2013-10-25 09:26:28 -06:00
Santiago Pastorino
db086794c6 Merge pull request #373 from phoet/patch-1
some remarks on testing in the readme
2013-10-22 06:46:44 -07:00
Santiago Pastorino
cf8145230e Merge pull request #413 from strzalek/reorder-readme
Changes to README
2013-10-22 05:05:09 -07:00
Łukasz Strzałkowski
3f4ab36e7e Add AMS heading 2013-10-22 09:53:42 +00:00
Łukasz Strzałkowski
e531df3b4e Move design section to the top 2013-10-22 09:53:33 +00:00
Santiago Pastorino
8f583d2c46 Merge pull request #337 from lserman/update-meta-key-docs
Updating documentation to warn users that { root: false } will ignore the meta key
2013-10-21 13:12:28 -07:00
Santiago Pastorino
594eaa1576 Use scope in docs instead of current_user
Closes #322
2013-10-21 17:56:03 -02:00
Santiago Pastorino
477a0ae1d2 Add back README.md file 2013-10-18 17:49:22 -02:00
Santiago Pastorino
14f51f2ea9 Remove everything, rewrite of AMS starts here 2013-10-18 17:46:18 -02:00
mikegee
23748e7f2b add Design and Implementation section to readme
credit to @garysweaver
2013-08-29 16:04:20 -04:00
Peter Schröder
79b84a10e3 add MiniTest and RSpec examples 2013-08-13 20:16:11 +02:00
Peter Schröder
56eaa61233 add an example for how to test serializers easily
off topic: please deactivate the WIKI if there is no content in it
2013-08-13 15:17:16 +02:00
stiller
a62680c883 Update README.md
Fixed typo.
2013-07-04 11:32:25 +02:00
T.J. Schuck
027aa38138 Add docs about caching 2013-06-26 16:48:36 -04:00
Andre Meij
54ce37b956 Change to 1.9 Hash syntax in docs 2013-06-18 16:40:14 +02:00
Andre Meij
88ff42ebc8 Use 1.9 hashes in the readme 2013-06-18 16:35:03 +02:00
Logan Serman
b20ad33407 Updating the meta key documentation to warn users that { root: false } will cause the serializer to ignore the meta key as it leads to invalid JSON.
https://github.com/rails-api/active_model_serializers/issues/332
2013-06-16 01:01:03 -05:00
Jamie Gaskins
74af00f17a Remove errant apostrophes
Apostrophes don't indicate pluralization.
2013-06-08 12:18:34 -03:00
Anson Hoyt
173f3f2a17 Explain how to include an attribute named "object" 2013-06-06 14:41:45 -04:00