Ask for Help
“accepts_nested_attributes_for doesn’t validate nested records? When a form contains two of the same nested attributes and the values of these should cause a validation error (e.g., both have the same email, which has a uniqueness constraint), the form saves properly, but the nested objects are invalid when accessed later.”
accepts_nested_attributes_for only validates against the database, but the records in this example would only be in memory. The best solution is to handroll a validator on the parent that iterates over the nested attributes and checks the constraints.
“A Pivot was getting some errors using minified jQuery in IE8, which went away when he used the un-minified version. Any other IE8/jQuery gotchas?”
A few have been mentioned at standup in the past few weeks, most notably some versions of jQuery crash IE8 entirely.
“Is there a way to generate a png from html server-side?”
You can use a command-line tool like webkit2png or there is some rack middleware that can generate pdfs and maybe pngs from html
“A pivot had a page that was requesting images after the page loaded, but couldn’t find where they were coming from…”
You can check the originator column of assets in firebug or the chrome developer panel. You can also try overriding jquery ajax to see each call (which you may not want to do if you have a lot of ajax calls).