justinfrench/formtastic — pull request #855 by ciscou (2012-05-31 10:35:30+00:00)
Title: include validations on ancestors

Hi

Validations on parent classes were not taken into accout. I mean, if we have

```
class Post < ActiveRecord::Base
validates :title, :presence => true
end

class SpecialPost < Post
end

semantic_form_for SpecialPost.new do |f|
f.input :title
end
```

Then the label for title would not include an asterisk, meaning this field is required (and it should)

This pull request fixes that

Thanks!