Skip to content

Releases: andypike/rectify

v0.13.0 Release

16 Oct 23:41
2abe6ea
Compare
Choose a tag to compare

Include fixes from community contributions:

  • Fix nested arrays support (#45)
  • Allow a Form to mimic a model with an attribute with the same name (#44)
  • [DOC] Example in how to coerce Date and Time with multiple formats. (#50)

Also bumped gems to latest version.

Release v0.12

22 May 12:06
d814c92
Compare
Choose a tag to compare
Merge pull request #46 from andypike/file_specs_bump_gems

File specs bump gems

Release 0.11.0

21 Feb 12:03
Compare
Choose a tag to compare
  • Commands now return a hash of the broadcast events together with any parameters passed

v0.8.0

05 Dec 21:50
Compare
Choose a tag to compare

Add #with_context support to form objects

v0.7.1

01 Nov 21:40
Compare
Choose a tag to compare

Add #to_ary to queries to allow them to be used more easily in view rendering - Thanks to @mrcasals, see PR #36

v0.7.0

28 Oct 16:00
Compare
Choose a tag to compare

Added #before_validation hook to enable some processing of attributes in forms before validations are run via valid?

v0.6.1

13 Jun 08:57
Compare
Choose a tag to compare
  • Allow command handlers to call private methods of the caller. This is useful when called from a controller action and the handler needs to access private controller methods such as cookies etc
  • Adds support for indexed arrays in form objects. When the form builder adds an index to an array it is represented in the params hash as a hash with the key being the index. Form objects are now populated correctly when using this style of form.

v0.6.0

01 Jun 17:42
Compare
Choose a tag to compare

Add support for populating a form object from a JSON string

v0.5.4

31 May 00:33
Compare
Choose a tag to compare

Introduce the stub_form helper for RSpec to simplify the usage of Rectify::StubForm in specs.

v0.5.3

29 May 14:41
Compare
Choose a tag to compare

Improvements for testing with RSpec