Railsers:
As usual for a product written very rapidly, most of its documentation
assumes some other documentation 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 identifier? Poking around with ''form_helper'',
''helper'',
etc doesn''t do it.
--
Phlip
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!
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!!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
Hello Phlip, 2006/11/4, Phlip <phlip2005@gmail.com>:> # <% 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/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---