search for: studentcontrol

Displaying 1 result from an estimated 1 matches for "studentcontrol".

2005 Feb 05
4
Creating collections
...9;'m trying to create a form where a collection is created, using the example from the Rails 0.9.5 weblog posting: http://weblog.rubyonrails.com/archives/2005/01/26/rails-095-a-world-of- fixes-and-tweaks/ I''m having a bit of trouble. The controller currently looks like this: class StudentController < ApplicationController def new render_text @params.inspect end def create end end And the view: <form action="new" method="post"> <% (1..3).each do |i| %> <p> First Name: <%= text_field "student[]", &quot...