mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
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.
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
# unreleased
|
||||
|
||||
* On Ruby 1.8, we now generate an `id` method that properly serializes `id`
|
||||
columns. See issue #127 for more.
|
||||
|
||||
* Add an alias for `scope` method to be the name of the context. By default
|
||||
this is `current_user`. The name is automatically set when using
|
||||
`serialization_scope` in the controller.
|
||||
|
||||
Reference in New Issue
Block a user