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

Adds setters for has_one and belongs_to #47

Closed fergmastaflex closed 7 years ago

fergmastaflex commented 7 years ago

We weren't defining setters during these associations before. Next steps will add a setter for has_many. I feel like that's a little different because it deals with a number of records rather than just one, so there needs to be some check that the current method does not do.

Part of #45.

@mmmries @localshred @liveh2o

liveh2o commented 7 years ago

Thanks. This is a good start. 👍