Displaying 2 results from an estimated 2 matches for "to_html_form".
2006 Mar 28
1
Newbie question: Dynamic view creation from obj.to_html_form
Hi. I would like to be able to generate a form dynamically from an
object''s to_html_form method, submit it, and then place marshalled
object into a database row.
Since I do not know exactly all the input fields in advance, I figure
this would allow me to dynamically create the input form, stuff the user
input into object, marshal the object into the database, and display it
later...
2006 Mar 28
6
blank page output
Hello, I''m new to Ruby and RubyOnRails. I''m running Fedora 4 which comes
with Ruby 1.84-1. I installed rubyonrails, and I''m doing the a sample
program found on
http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=2
I ran ruby script/generate controller MyTest. I edited the file
my_test_controller.rb. Here''s the code I entered
class MyTestController