added support for active record collections and input display