validates :uniqueness => true
If person record not present, nested attributes working great! in rails
i.e., inserting into songs, people and people_songs table correctly.
I am interested in:-
*If there is person exist, it should skip insertion into people table
data should be inserted in songs and people_songs table (association
There are lots of approach to solve this problem. I usually comes with
ugly way to deal with this. Can some body suggest me the proper Rails