Displaying 1 result from an estimated 1 matches for "major_build_id".
2006 Feb 11
3
Creating new object using params posted from form
Hi,
I have a problem creating an new instance of an object using params posted
from a form.
The object being created is not a sub class of ActiveRecord and is very
simple. It''s model file is just:
class Search
attr_accessor :major_build_id, :minor_build_id, :environment_id,
:system_id
end
The controller creates an empty instance variable the first time the page is
called, else it tries to populate it with the values of params from the
form.
class ResultsController < ApplicationController
def index
list
render :acti...