Commit Graph

79 Commits

Author SHA1 Message Date
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
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
Tee Parham
d10b5f6ac0 add ruby 1.8 install note [ci skip]
fixes #310
2013-05-30 15:25:06 -06:00
David Verhasselt
2cc598c74a Update README.md
Setting AMS::Serializer.root = false doesn't automatically disable root for the ArraySerializer.
2013-05-21 12:00:39 +03:00
David Verhasselt
1614ef3b12 Create new section 'Disabling root' in README 2013-05-14 11:30:22 +03:00
David Verhasselt
358b6a8875 Update README.md 2013-05-14 10:42:28 +03:00
David Verhasselt
5504293776 Update README.md
I'm a bit embarrassed to admit that it took me a while to figure out this was a possibility, so I figured maybe this change will save some other poor chaps their time and/or pride.
2013-05-13 18:23:20 +03:00
vanstee
6b6afb8a83 Bump minor version specified in Gemfile 2013-05-11 02:33:27 -04:00
Steve Klabnik
48e5ca29f1 Add Coveralls for code coverage. 2013-05-05 13:38:56 -07:00
Steve Klabnik
a0b07259ae Add CodeClimate badge. 2013-05-05 13:04:39 -07:00
Gosha Arinich
1482081766 add support of mongoid collection serialization 2013-05-05 21:50:34 +03:00
Silvio Relli
9ca71c2443 Update README.md
Fixed typo in documentation about the number of options to disable the root element for arrays
2013-05-02 16:27:06 +03:00
Tee Parham
6b0ceba148 fix travis links
The existing links work, but redirect.
2013-04-24 21:55:50 -06:00
Steve Klabnik
049cff57c2 Merge pull request #250 from gabetax/documentation/belongs_to
Document inclusion of belongs_to ActiveRecord associations
2013-03-23 05:43:28 -07:00
Gabe Martin-Dempesy
01d1228772 Document inclusion of belongs_to ActiveRecord associations 2013-03-23 00:48:00 -05:00
Michael Kaiser-Nyman
1fc314786e fix grammar in readme 2013-03-22 15:19:13 -07:00
beerlington
4a13f86961 Reference scope by same name as serialization scope
By default, the serialization scope uses current_user, and you can
now reference the scope as "current_user" in the serializer. If you
override the scope using "serialization_scope" in your controller,
it will use that method name instead.
2013-03-18 14:44:38 -04:00
Attila Domokos
5f9209e619 Fixing README.md 2013-03-13 20:53:20 -04:00
Paul McMahon
87509e9537 More clearly recommend to add to Gemfile 2013-03-10 17:48:34 +09:00
Steve Klabnik
e76a16486f Merge pull request #170 from FundingGates/master
Support optional types for computed attributes
2013-03-08 09:11:29 -08:00
Miloš Hadžić
befac17160 Update release version in README. 2013-03-06 17:40:41 +01:00
Jeremy Redburn
7cd7d295e0 Adding 'embed_key' option to allow embedding attributes other than ID 2013-03-05 18:52:31 -05:00
Steve Klabnik
585b1bc508 No longer recommend installation from git 2013-03-05 15:28:56 -08:00