Hiya,
I'm creating an object and associating it with existing objects by
setting the category_ids on the new object. It doesn't seem to work on
create but does work on update:
https://gist.github.com/3784696
I've done this countless times before and I cannot figure out what is
up. It's not an attr_accessible problem because I'm not using that on
this project, I'm using strong_parameters. I tried removing all of
that stuff and still nothing. I can even spit out the ids after create
with something like:
after_create do
Rails.logger.fatal "*"*75
Rails.logger.fatal categories
Rails.logger.fatal magazines
end
but the associations are never saved. I'm thinking it's a bug but my
Googling hasn't turned up anything. Ideas?
Thanks!
--
Randy Schmidt