That's exactly what I was looking for!
THANK YOU!
And thanks for the insight.
-a
On Mar 23, 12:10 pm, Michael Pavling <pavl...@gmail.com> wrote:
> On 23 March 2010 17:01, andrew <andrew.ggro...@gmail.com> wrote:
>
> > Ahhhh! a.class = formbuilder. I thought it was a Comments class.
> > Now I know what to look up.... I guess my question after all is there
> > any way to "extract" a data value from a field within a formbuilder?
> > (if I got my terminology right)
>
> a.object.text
> (although I'm using Formtastic "SemanticFormBuilder" objects here, so
> have fingers crossed the method is the same - dumping "a.methods"
> would help you a little if 'object' doesn't work...)
--
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.
No comments:
Post a Comment