I have two models, Blog and Theme. A Blog embeds\_many :themes and Theme embedded\_in :blog. I also have Blog embeds\_one :theme (for the activated theme). This does not work. When creating a theme with `blog.themes.create` it's not stored. If I change the collections so they're not embedded everything works.

```
# This does NOT work!
class Blog
  embeds_many :themes
  embeds_one  :theme
end

class Theme
  embedded_in :blog
end

```

BUT

```
# This DOES work!
class Blog
  has_many :themes
  has_one  :theme
end

class Theme
  belongs_to :blog
end

```

Anyone know why this is?

UPDATE
------

Also there is a problem with assigning one of themes to (selected) theme.

```
blog.themes = [theme_1, theme_2]
blog.save!

blog.theme = blog.themes.first
blog.save!

blog.reload
blog.theme # returns nil

```