Answer by gotqn for Rails 3 datatypes?
It is important to know not only the types but the mapping of these types to the database types, too: For, example, note that in MS SQL Server we are using: the old "datetime" instead "datetime2"...
View ArticleAnswer by lflores for Rails 3 datatypes?
It might be helpful to know generally what these data types are used for: binary - is for storing data such as images, audio, or movies. boolean - is for storing true or false values. date - store only...
View ArticleAnswer by Nicolas Raoul for Rails 3 datatypes?
Here are all the Rails3 (ActiveRecord migration) datatypes: :binary :boolean :date :datetime :decimal :float :integer :primary_key :references :string :text :time :timestamp Source
View ArticleAnswer by Tim Stephenson for Rails 3 datatypes?
Do you mean for defining active record migrations? or do you mean Ruby data types? Here's a link that may help for creating migrations: Orthogonal Thought - MySQL and Ruby on Rails datatypes
View ArticleRails 3 datatypes?
Where can I find a list of data types that can be used in rails 3? (such as text, string, integer, float, date, etc.?) I keep randomly learning about new ones, but I'd love to have a list I could...
View Article