RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: boddhisattva
Thanks for sharing this piece of info about default new ids created by Rails.
When I recently tried implementing this, I landed up with the error "attribute" is marked as readonly . Here, the "attribute" refers to the counter cache attribute. To fix the same, this post helped me.