Displaying 1 result from an estimated 1 matches for "relationshiptopics".
Did you mean:
relationship_topics
2009 Oct 15
2
Model.Save causing nil object error
...ic id: nil, relationship_id: 1, topic_id: 1,
primary: nil, created_at: nil, updated_at: nil>
>> @rel.save
@rel.save
NoMethodError: You have a nil object when you didn''t expect it!
The error occurred while evaluating nil.text?
Why am I unable to use the .save method when creating
RelationshipTopics? Creating relationships and topics by itself works,
but I can''t get the join table to cooperate.
--
Posted via http://www.ruby-forum.com/.