class A < ActiveRecord::base { validate_of_**\* :some_attribute } class B < A { } in the view ,i using <%=form_for%>,but it not work why? help?