I have a many-to-many table I have standards that I want to assign to
resources. In my form I have spit the form into two pages. The first
page gets most of the information about the resource and stuff and I
want it to send two parameters to the next page so I can "filter" out
some of the standards.
I have this:
@resource = Resource.new(params[:resource])
@resource.tag_with(@params[:tags])
if @resource.save
flash[:notice] = ''Resource was successfully created.''
redirect_to :action => ''new_continued'', :level =>
@params[:level],
:subject => @params[:contentarea]
But when I check my development log I see this:
SELECT * FROM core_contents WHERE (level = NULL AND subject = NULL)
How do I fix this?
Seth Buntin
Web Resources Coordinator
Kentucky Academy of Technology Education
Murray State University
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://wrath.rubyonrails.org/pipermail/rails/attachments/20060223/bc1bba37/attachment.html