search for: yayincontrol

Displaying 1 result from an estimated 1 matches for "yayincontrol".

2005 Dec 17
0
Passing multiple parameters with select-option to controller
...ly creted in yayin table and the relationship was successfully created in yayin_anabilimdali table. Here is the codes; model yayin.rb class Yayin < ActiveRecord::Base has_and_belongs_to_many :ogretimuye has_and_belongs_to_many :anabilimdali end controller yayin_controller.rb class YayinController < ApplicationController model :yayin .... .... def new @anabilimdali = Anabilimdali.find (:all , :order => "ad") @ogretimuye = Ogretimuye.find (:all , :order => "ad") end def create @anabilimdali = Anabilimdali.find_all @ogretimuye = Ogretimuye.f...