> I would very strongly suggest following the conventions, it will make
> your life much easier. Also I think that in this case it may at least
> in part be the cause of the problem. Consider the line
> @metadata = @content_master.Metadata.build
> What is Metadata here? In the model you have declared
> class Metadata < ActiveRecord::Base
> so Metadata is a class. But in the code you are using it as if it
> were a member of the ContentMaster class, which it is not, whereas
> metadata is (or at least could be, dependent on the table schema).
> I suggest that you make the changes I have proposed and try it.
i have tried all the conventions you told but it does no change in
error ( hard luck ).
I suppose their is lots and lots of chaos about rails conventions &
defaults.
problem still remains unsolved !!!!!
thank you
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.