On 8 July 2010 08:52, Michael Pavling <pavl...@gmail.com> wrote: > On 8 July 2010 08:41, Rajkumar Surabhi <li...@ruby-forum.com> wrote: >> In my application i have 2 tables, 1.logins and 2. credits. >> >> how to mention this in model associtations > > You'll find lots of "getting started" guides online - no sense > rewriting them here: > http://www.google.co.uk/search?q=getting+started+with+ruby+on+rails
Particularly the guides at http://guides.rubyonrails.org/index.html. There is one on ActiveRecord Associations which should contain what you want to know (assuming you have worked through the Getting Started one first). Colin -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.