Every now and then I have to remind myself of the differences between "count", "length" and "size" in Rails. I've never found a better source for this than the has_many :through article: count vs length vs size
It's well worth a read, even if you're an old Rails pro.
3 comments:
The link is 404. :-(
Aha! The problem seems to be the trailing slash. Remove that and it works.
Thanks! Fixed now.
Post a Comment