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
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],
2 matches
Mail list logo