ClearFit/redtape — pull request #5 by splattael (2012-11-12 10:15:49+00:00)
Title: Fix subclassing Redtape::Form twice.

Without this fix subclassing `Redtape::Form` twice
would overwrite `model_accessors` in the base class.

Example:

class Signup < Redtape::Form
validates_and_saves :user
end

class WelcomePost < Redtape::Form
validates_and_saves :post
end

WelcomePost.new(params[:post]).save # works
Signup.new(params[:user]).save # breaks

`Signup` would break because `model_accessors` is overwritten with
`post`.