search for: text_value

Displaying 2 results from an estimated 2 matches for "text_value".

Did you mean: ext_value
2006 Apr 17
2
Refreshing RHTML page with previously posted data?
All, After a POST, I want to be able to redisplay a view with the data that was previously entered when my controller action notices a validation failure and calls render on the view that does the submit. Example: View x.rhtml - text field is filled in Call controller action Controller action fails validation calls render (:action => ''x'') x.rthml shows up with blank text
2007 Apr 27
1
Return which field/index a result hit was found in
...ail| detail.value end.join(",") end def details_title_list return self.details.collect do |detail| detail.title end.join(",") end def details_text return self.details.collect do |detail| detail.text_title + detail.text_value end.join(",") end def author_names return self.authors.collect do |authors| authors.name end.join (",") end ... I can successfully search the Book model and all of its associations. Next, I would like to print out in which field/associ...