Hi Steve, > My first thought was "Nice!! So they demo string and text. What are > the differences between these two, and what other types are > available?"
The types Active Record supports are :primary_key, :string, :text, :integer, :float, :decimal, :datetime, :timestamp, :time, :date, :binary, :boolean. (Source: http://guides.rails.info/migrations.html ) Also, on api.rubyonrails.org I found the following information pretty quickly: http://api.rubyonrails.org/classes/ActiveRecord/ConnectionAdapters/TableDefinition.html Generally speaking, you usually find all you need in the Rails guides and the API documentation. Now I wish there was some usable way of finding answers to questions where you *don't* know which part of Rails is doing the magic. I'd love to have some documentation based on the *topic*, like this here: http://www.php.net/manual/en/funcref.php Newbies (like myself!) also tend to be confused at times when trying to find out whether our question is a Ruby or a Rails question. Thankfully the Rails community is pretty friendly. :-) --~--~---------~--~----~------------~-------~--~----~ 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@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 -~----------~----~----~----~------~----~------~--~---