Hi can any1 guide me ,How can i use foreign Key concept in rails, I m using Migrations to create tables, Also i want to know diffrent fields we can use while creating tables. I mean like String,Date time, timestamp,,,,Plz tell me various fields so that i can Make proper use of them as per requirement. Thank u in advance -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
http://api.rubyonrails.com/classes/ActiveRecord/Migration.html http://wiki.rubyonrails.org/rails/pages/UsingMigrations On 8/2/07, Reshma Gahin <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Hi can any1 guide me ,How can i use foreign Key concept in rails, I m > using Migrations to create tables, Also i want to know diffrent fields > we can use while creating tables. I mean like String,Date time, > timestamp,,,,Plz tell me various fields so that i can Make proper use of > them as per requirement. > > Thank u in advance > -- > Posted via http://www.ruby-forum.com/. > > > >-- Cheers! - Pratik http://m.onkey.org --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Reasonably Related Threads
- ActiveRecord::Base#update_all expected behaviour
- Submitted a patch, got pluses, what now?
- walkthrough: Rails 2.0 startup process
- set_default_values rocket science - continuing after_initialize/after_find misfeature
- no route found to match "/rails/info/properties" with {:method=>:get}