Ruby on Rails
Sunday, September 2, 2012
On line 1152 of form_helper.rb, there is this line:
def default_form_builder
builder = ActionView::Base.default_form_builder
builder.respond_to?(:constantize) ? builder.constantize :
builder
end
I tried searching for default_form_builder on ActiveView::Base but
couldnt find the definition. Can anyone guide to where it's defined,
specifically file and line number?
--
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 https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment