On 14 May 2013 23:59, cristhian Campoverde li...@ruby-forum.com wrote:
I think, my method create is wrong in controller MALLA
I want to save the ids selected in the view malla from the controller
MALLA.
def create
params[:malla][:level][:subject_ids]
What is the above line of code
I think, my method create is wrong in controller MALLA
I want to save the ids selected in the view malla from the controller
MALLA.
def create
params[:malla][:level][:subject_ids]
@malla = Malla.new(params[:subject_ids][:level][:malla])
if @malla.save
redirect_to
2 matches
Mail list logo