activescaffold/active_scaffold — pull request #317 by masal (2013-12-02 10:58:41+00:00)
Title: fix RJS error in on_update.js.erb, use to_param

For models where id != to_param the form selector in on_update.js.erb does not match anything.

This leads to an RJS error: "TypeError: Cannot call method 'update_flash_messages' of null". Replacing id with to_param in the selector fixes this.