These should be available in the params hash as params[:name] and
params[:code]. However I am a bit confused, is not @subjects an array
of subjects? If so then @subjects.name does not make sense.
Colin
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-co...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.