makandra / active_type

Make any Ruby object quack like ActiveRecord
MIT License
1.09k stars 74 forks source link

FIX: make errors.add work when inheriting from ActiveType::Record #65

Closed snow closed 8 years ago

snow commented 8 years ago

FIX: when casting ActiveRecord instance to ActiveType::Record, set ActiveModel::Errors instance variable @base to the ActiveType::Record instance

kratob commented 8 years ago

Thank you. Fix is releases as version 0.5.1.

snow commented 8 years ago

my pleasure 😄

snow commented 6 years ago

fixes #44