I have a Diu model
class Diu < ActiveRecord::Base
Then I have a Keke model
class Keke < ActiveRecord::Base
class Lala < Keke
Then I have a LalaController
class LalaController < ApplicationController
@lala = Lala.new
render :partial => 'new'
@lala = Lala.new(params[:lala])
redirect_to :action => 'show', :id => @lala
Now, whenever I go ahead and try to save my lala, I get a validation
error because the :diu_id doesn't get carried aboard. I've been trying
to figure out how can I get it come aboard for approx a year now. I
also have the book (AWDR), but since it hasn't been much help so far I
might as well burn it.
Help me Obi-Wan Kenobi(s), you're my only hope.