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

Adding foreing key option to associations #4

Closed carlosagp closed 11 years ago

carlosagp commented 11 years ago

Adding the :foreign_key to associations (belongs_to, has_many and has_one)

liveh2o commented 11 years ago

Might make a few style adjustments, but it looks good. Also, "memoize" is correct, in this case. It's not a misspelling of memorize. I was confused by this at first too, but the pattern is actually called memoizing.

liveh2o commented 11 years ago

Just rolled v1.3.1. Bundle update and you should be good to go.