Sha256: 1b371048ff585b895a13c623f241a096231c14a453e7004e502b56e58bd2b93c

Contents?: true

Size: 1.49 KB

Versions: 1

Compression:

Stored size: 1.49 KB

Contents

h2. 0.0.14

* Moved logic to infer representer names from `ControllerAdditions` to `RepresenterComputer` class.
* Representer names passed to `::represents` are now constantized at runtime where they are actually needed, only. This fixes a bug where you were required to provide a `SingersRepresenter` (for collections) everywhere even when you just want to represent singular resources.
* You can now pass strings to `::represents` as representer names.

h2. 0.0.13

* Allow passing user options to both `#respond_with` and `#consume!`.
* Fixing `#consume!` with decorators.

h2. 0.0.12

* Bumping representable to 1.4 which allows us using both extend and decorating representers.

h2. 0.0.11

* Back to `request.body.read` in `#consume!` (again). If anyone is having problems with empty incoming strings this is a Rails issue - update ;-)

h2. 0.0.10

* Empty resources now work properly in Rails 3.0 and 3.1.

h2. 0.0.9

* Changed `request.body.string` to `read` to make it work with Unicorn.

h2. 0.0.8

* Added `#represents` to configure consuming and rendering on controller class layer. This also calls `respond_to`.

h2. 0.0.7

* Introduce `:represent_with` and `:represent_items_with` for `#respond_with`. In turn, deprecate the old behaviour since it will change in 1.0.

h2. 0.0.6

* Make roar-rails rely on roar 0.10 and bigger.

h2. 0.0.4

* Added `#consume!` to infer representer name and parse the incoming document for a model.

h2. 0.0.3

* Works with Rails 3.0 now, too. Fixed the `mounted_helpers` import.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
roar-rails-0.0.15 CHANGES.markdown