Releases: kalsan/anchormodel
Releases · kalsan/anchormodel
v0.1.2
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
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
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
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
Initial release. While everything appears to work, this gem is fresh out of the press and should be handled with care.