Skip to content

Releases: kalsan/anchormodel

v0.1.2

25 Jan 11:45
Compare
Choose a tag to compare

Starting from this release, Anchormodel considers empty string equivalent to nil. This fixes an issue with assignments of optional attributes coming directly via Rails request.

0.1.1

24 Jan 19:38
Compare
Choose a tag to compare

This release adds Rails Enum style model methods, such as (for a model User belonging to an anchormodel role):

@user.role.admin?
@user.admin?
@user.admin!
User.admin

Also, testing and documentation were improved in this release.

0.1.0

18 Jan 10:45
Compare
Choose a tag to compare

Gem now entering Beta phase (while 0.0.x versions were purley experimental).

This release adds basic testing, replacing the previous testbed, which had a biased loading system. For this reason, anchormodels are no longer namespaced under the Anchormodels:: prefix but live in the root namespace, in accordance with the Rails convention under app/.

0.0.2

04 Jan 08:20
Compare
Choose a tag to compare
0.0.2 Pre-release
Pre-release

This fixes a bug where .all loaded entries from all classes.

At this point, anchormodel is still in early stages of development, use with care.

0.0.1

17 Dec 12:02
Compare
Choose a tag to compare
0.0.1 Pre-release
Pre-release

Initial release. While everything appears to work, this gem is fresh out of the press and should be handled with care.