Steve Klabnik
dc3f8cb24b
Merge pull request #249 from michaelrkn/patch-1
...
fix grammar in readme
2013-03-23 05:42:26 -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
Steve Klabnik
55ef0f9cbd
Merge pull request #248 from KMahoney/default-serializer-options
...
Update changelog for default serializer update
2013-03-22 12:44:47 -07:00
Kevin Mahoney
0a3fcea4d5
Update Changelog
2013-03-22 18:31:50 +00:00
Steve Klabnik
6a54b892c8
Merge pull request #247 from KMahoney/default-serializer-options
...
Pass options through when using default serializer
2013-03-22 08:46:16 -07:00
Kevin Mahoney
2bd447d69d
Pass options through when using default serializer
2013-03-22 13:12:33 +00:00
Steve Klabnik
680e2efbec
Merge pull request #246 from beerlington/dry-option-setup
...
Refactor and consolidate serializer option setup
2013-03-20 08:56:54 -07:00
beerlington
e4ad25073d
Adding doc for build_json method
2013-03-20 08:14:23 -04:00
beerlington
fd578fcf69
Refactor and consolidate serializer option setup
2013-03-19 22:21:41 -04:00
Steve Klabnik
c129ae2016
Generate id method on Ruby 1.8.
...
Because object_id and id went through some flux, it's best to tell 1.8
specifically what we mean.
Closes #127 .
2013-03-19 14:53:08 -07:00
Steve Klabnik
145b6d499d
First part of a fix for #208 .
...
I would like to get this under test.
2013-03-19 13:52:20 -07:00
Steve Klabnik
5d2ae9b138
Merge pull request #242 from SamSaffron/fix
...
this little bit of caching gives us a massive perf gain on Discourse
2013-03-18 17:27:16 -07:00
Sam
af13d48dfa
improved caching of root node for better performance
2013-03-18 16:21:34 -07:00
Steve Klabnik
324f9d83b3
Merge pull request #240 from beerlington/scope-name-alias
...
Adding scope_name method to alias scope in Serializer
2013-03-18 11:50:19 -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
Steve Klabnik
41a389a900
Move to CHANGELOG.md
2013-03-18 11:19:55 -07:00
Steve Klabnik
277d5ce44a
Adding section for 0.8 to changelog
2013-03-18 11:19:55 -07:00
Steve Klabnik
9fef47db4d
Merge pull request #238 from SamSaffron/fix
...
fix inheritance issues
2013-03-16 10:38:01 -07:00
Sam
ad1d34b2c4
Fix inheritance issues, poison cache if attributes change
2013-03-16 03:45:06 -07:00
Steve Klabnik
46378add65
Merge pull request #237 from samuil/master
...
Add test for mutual relation
2013-03-15 11:56:49 -07:00
Bartek Borkowski
00b5739d38
Add mutual association test
2013-03-15 18:59:05 +01:00
Steve Klabnik
746a63ab09
Merge pull request #89 from twinturbo/caching
...
Serializers Cache JSON & Hashes
2013-03-15 10:30:04 -07:00
Steve Klabnik
838c9285f1
Merge pull request #236 from tpitale/preserve-location
...
Rails actionpack responder preserves :location => nil, AM::S should too
2013-03-15 10:29:40 -07:00
Steve Klabnik
c12d82522d
Merge pull request #235 from tpitale/use-https
...
Use https for rubygems
2013-03-15 10:28:37 -07:00
Tony Pitale
d3c6596990
make sure to merge the original responder options into the given options to preserve location
2013-03-15 03:54:35 -04:00
twinturbo
4a5e1e1ae5
Attemp to fix bad test
2013-03-15 08:41:39 +01:00
Tony Pitale
ea2b24bc73
use https for rubygems
2013-03-15 03:35:56 -04:00
twinturbo
c3966fe741
ArraySerializer is also cached
2013-03-14 22:54:05 +01:00
twinturbo
bd90af0e49
Remove commented code
2013-03-14 22:41:34 +01:00
twinturbo
b854d49298
Rebase against master
2013-03-14 22:40:46 +01:00
twinturbo
5027f04441
Update railtie
2013-03-14 22:40:07 +01:00
twinturbo
e3888f0a40
Clean up interface inconistency
2013-03-14 22:40:06 +01:00
twinturbo
535a33a33b
Have to opt in with #cache_key
2013-03-14 22:40:06 +01:00
twinturbo
e923174a26
#cache_key delegates to #object by default
2013-03-14 22:40:06 +01:00
twinturbo
b4395f281b
Add basic caching
2013-03-14 22:40:06 +01:00
Steve Klabnik
6408b73e3c
Merge pull request #233 from SamSaffron/fix
...
Optimised performance for attribute extraction
2013-03-14 14:22:27 -07:00
Sam
710c375088
remove safe guard per discussion with steveklabnik
2013-03-14 14:11:04 -07:00
Steve Klabnik
6642a86f2b
Merge pull request #234 from rykov/responder
...
Ensure that Responders work with Rails-API
2013-03-14 11:36:55 -07:00
Michael Rykov
b3a6fa6334
Ensure that ActionController includes MimeResponds
2013-03-14 11:15:14 -07:00
Sam
08a182d743
per discussion remove instrumentation altogether
2013-03-13 22:18:40 -07:00
Sam
31ba6fbb08
Optimised performance for attribute extraction
...
Disabled all instrumentation unless enabled explicitly
2013-03-13 21:20:56 -07:00
Steve Klabnik
9c00622b4a
Merge pull request #228 from rykov/responder
...
AMS should be a Responder, rather than modify render :json behavior
2013-03-13 20:26:35 -07:00
Steve Klabnik
bf93a4d51a
Merge pull request #229 from adomokos/fixing_readme
...
Fixing README.md
2013-03-13 19:04:45 -07:00
Attila Domokos
5f9209e619
Fixing README.md
2013-03-13 20:53:20 -04:00
Michael Rykov
37b0690fb8
Add a Responder to handle respond_with(resource)
2013-03-13 16:45:23 -07:00
Steve Klabnik
ad886495a1
Travis now has bundler 1.3
...
So we don't need to install it any more.
2013-03-10 10:21:32 -07:00
Steve Klabnik
4b3c146638
ruby-head -> ruby2.0.0
2013-03-10 10:21:04 -07:00
Steve Klabnik
a546a942c5
Merge pull request #226 from pwim/master
...
More clearly recommend to add to Gemfile
2013-03-10 08:58:07 -07:00
Paul McMahon
87509e9537
More clearly recommend to add to Gemfile
2013-03-10 17:48:34 +09:00