Implement has_one's embed objects

This commit is contained in:
Santiago Pastorino
2013-08-13 18:12:00 -03:00
parent d756ae4a70
commit 52bb3f6929
3 changed files with 22 additions and 4 deletions

View File

@@ -37,6 +37,10 @@ module ActiveModel
def key
"#{name}_id"
end
def embedded_key
name
end
end
end
end