Sha256: ff942dea53465b51a3192b7f6037f9d5a08f7aed997cd8436fce9415ef34d42a

Contents?: true

Size: 1.48 KB

Versions: 1

Compression:

Stored size: 1.48 KB

Contents

# 0.2.2

* Remove cells loading code, this happens via trailblazer-loader now.
* We now load the concept's model file if it exists.

# 0.2.1

* Require `trailblazer-loader`.

# 0.2.0

* Use `trailblazer-loader` for loading operations and associated files, now. Note that `operations.rb` now is `operation.rb` (hence the minor bump).
* The `Operation::Controller` module is not included into `ApplicationController` automatically.
* Added `Trailblazer::Test::Integration`.

# 0.1.6

* Fix `Controller#run`, which now returns the operation instance instead of the `Else` object.

# 0.1.5

* Treat all requests as `params` requests unless the operation has a representer mixed in. If you don't want that, you can override using `is_document: false`. This appears to be the smoothest solution for all. Thanks to @Scharrels for discussion.
* In `Controller#form`, the options argument is now passed into `form.prepopulate!(options)`. This allows to use arbitrary options and the `options[:params]` for prepopulation. Thanks @sauy7 for discussion.

# 0.1.4

* Treat `:js` requests as non-document, too.
* `Controller#form` now returns the form object and not the operation.
* In `Controller`, `#form`, `#present`, `#run` and `#respond` now all have the same API: `run(constant, options)`. If you want to pass a custom params hash, use `run Comment::Create, params: {..}`.

# 0.1.3

* `Operation::contract` works properly with `Operation::ActiveModel` mixed in.

# 0.1.2

* First version running with Trailblazer 1.0.0.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
trailblazer-rails-0.2.2 CHANGES.md