Best Way is to use Association belongs_to.Best Regards,Gopinath MRuby on Rails DeveloperContact : +91-9994652146Skype Id : gopinath.muruganEmail : gopi1...@gmail.com
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/eb01e94f-f9ea-4d2a-b1bf-09854bc85c91%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.