Hi Colin, really ?? sorry, I tried to simplificate my question...!
Please, if you know how to solve, tell me men.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To unsubscribe from this group
The trouble Colin is I accidentally deleted my first post, it was the
first time i signed up, so i was trying to know how the forum works.
Please man help me with that, really I need to solve it for my thesis.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you
Thanks for you replying Colin:
Look, this's my message of error:
NoMethodError in MallacurricularesController#create
undefined method `save' for []:ActiveRecord::Relation
Parameters:
{utf8=✓,
authenticity_token=CEX4yZeFmrSOspseMm2/d8rzPzu/3FYI2w8d7XZ1Ji0=,
malla={clase_id=1,
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
I don't know how to solve something about a project I'm doing in Ruby on
Rails.
I want to save the IDS of my 3 models to my table DETAILS between these,
my BD is Mysql.
ASIGNATURAS--MALLAS--NIVELSASIGNATURA_ID--_MALLAS_ID--_NIVELS_ID
In the view MALLA, i list my asignaturas, mallas and
I want to save the IDS of my 3 models to my table DETAILS between these,
my BD is Mysql.
SUBJECTS--MALLAS--LEVELSSUBJECT_ID--_MALLA_ID--_LEVEL_ID
In the view MALLA, i list my subjects, mallas and levels, and in the
controller MALLA i try to get save the arrays to
subjects_mallas_levels.
6 matches
Mail list logo