Easily map modal validation to client side javascript in Rails. Github: https://t.co/ucqUcsuO
Railscast: http://t.co/Og6vWbGy #rails
— Akhil Bansal (@bansalakhil) October 12, 2012

Read more at the source