[Rails] Re: Model.Save causing nil object error

2009-10-15 Thread Matthew Shapiro
Excellent, that worked! Thanks, -- 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 post to this group, send email to rubyonrails-talk@googlegro

[Rails] Re: Model.Save causing nil object error

2009-10-14 Thread Sijo kg
Hi Matthew Shapiro I think you are trying for uniq entry in join table(here relationship_topics).That you can do on db level In the migration file for this join table you can add after the creation of the table an index like add_index :relationship_topics, [:relationship_id, :topic_id],