liveh2o / active_remote

Active Remote provides Active Record-like object-relational mapping over RPC. It's Active Record for your platform.
MIT License
63 stars 23 forks source link

Fix attribute defaults from active_attr #44

Closed brianstien closed 8 years ago

brianstien commented 8 years ago

Attribute defaults were broken by the change to attribute initialization and typecasting.

This pulls over the active_attr attribute defaults, and fixes them to work with the way active_remote is doing attribute initialization and typecasting.

We could probably monkeypatch this in but I thought this approach was cleaner. Let me know what you think.

liveh2o commented 8 years ago

:shipit:

liveh2o commented 8 years ago

Released in v2.3.4.