Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@asmega
Last active August 29, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save asmega/05bc7d345e69b14e1a5b to your computer and use it in GitHub Desktop.
Save asmega/05bc7d345e69b14e1a5b to your computer and use it in GitHub Desktop.
probable custom form builder
# code from nested form
module NestedForm
class Builder < ::ActionView::Helpers::FormBuilder
include ::NestedForm::BuilderMixin
end
end
####################
# code from dough
module Dough
module Forms
module Builders
class Validation < ::ActionView::Helpers::FormBuilder
include ValidationModule
end
end
end
end
########################
# probable webfeeds code
class WebFeedFormBuilder < ::ActionView::Helpers::FormBuilder
include NestedForm::BuilderMixin
include Dough::Forms::Builders::ValidationModule
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment