How to use LabellingFormBuilder

Railsers:

As usual for a product written very rapidly, most of its documentation
assumes someone else told you something critical.

For example, the file form_helper.rb tempts me with this documentation:

<% form_for :person, @person, :url => { :action => “update” },

      :builder => LabellingFormBuilder do |f| %>

That’s beautiful. Now what do I require() into my controller.rb file
to get that LabellingFormBuilder identifier? Poking around with
‘form_helper’, ‘helper’, etc doesn’t do it.


Phlip
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!

Hello Phlip,

2006/11/4, Phlip [email protected]:

<% form_for :person, @person, :url => { :action => “update” },

      :builder => LabellingFormBuilder do |f| %>

That’s beautiful. Now what do I require() into my controller.rb file
to get that LabellingFormBuilder identifier? Poking around with
‘form_helper’, ‘helper’, etc doesn’t do it.

You are supposed to write it yourself. Alternatively, I just
discovered CSS Form Builder last week:
http://www.agilewebdevelopment.com/plugins/cssformbuilder

Hope that helps !

François Beausoleil
http://blog.teksol.info/
http://piston.rubyforge.org/

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs