Thanks all,

Actually reg_no column is present in both the models.
and was not mentioned as primary key in any of the model.

Thanks Colin , Fred for the quick response!!

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/dkqM24h7qFMJ.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedSep 19, '11 at 5:14a
activeSep 19, '11 at 5:14a
posts1
users1
websiterubyonrails.org
irc#RubyOnRails

1 user in discussion

Mohitnegi: 1 post

People

Translate

site design / logo © 2021 Grokbase