module LazyRecord
A collection of convenience methods for adding enhanced constructors, attributes, one-to-many collections, one-to-one associations, scopes, methods, and basic validations. Get a lot done with a little code.
Inherit from LazyRecord::Base
or include LazyRecord::BaseModule
to unlock the features. The primary use case in mind is a toolkit for designing response objects for web API wrappers. Two other gems in progress that are using LazyRecord
for this purpose are pyr
(www.github.com/msimonborg/pyr) (Ruby interface for Phone Your Rep, a civic tool), and lapi
(www.github.com/msimonborg/lapi), an API wrapper building tool with the goal of easing the construction of simple Ruby API wrappers.
This library's API draws heavy inspiration from ActiveRecord.
Constants
- VERSION