The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
MySQL varbinary columns in Rails migrations

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Duncan Beevers

Posts: 68
Nickname: dbeevers
Registered: May, 2008

Duncan Beevers is a hack and jester building shiny baubles from bytes and tears.
MySQL varbinary columns in Rails migrations Posted: Jul 22, 2008 7:05 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Duncan Beevers.
Original Post: MySQL varbinary columns in Rails migrations
Feed Title: dweebd
Feed URL: http://www.dweebd.com/feed/
Feed Description: Ruby ejecta from the leading edge
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Duncan Beevers
Latest Posts From dweebd

Advertisement
In a Rails Migration, specifying a column as binary generates a blob column. Blob columns, unfortunately, are allocated differently than any other MySQL column type; specifically, they aren’t supported in memory engine-backed tables. Varbinary columns, on the other hand, are supported. In order to provide varbinary columns in a Migration, I wrote up this [...]

Read: MySQL varbinary columns in Rails migrations

Topic: What Is Encapsulation? (and does it matter?) Previous Topic   Next Topic Topic: Locaweb: Exclusive Sponsors of FORPC101 Courses

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use