DmitryTsepelev / store_model

Work with JSON-backed attributes as ActiveRecord-ish models
MIT License
1.06k stars 85 forks source link

Handle aliases with has_attributes #93

Closed Zooip closed 3 years ago

Zooip commented 3 years ago

Change StoreModel::Model#has_attribute? to respond true on aliased attributes.

The same changes were made on Rails 6.1 :

DmitryTsepelev commented 3 years ago

LGTM, thanks!