Can you reproduce this error?

Generate a model with a property named 'y' of any type. You should end
up with a migration something like this:

class CreateYTests < ActiveRecord::Migration
  def self.up
    create_table :y_tests do |t|

      t.integer :y

  def self.down
    drop_table :y_tests

Then try to run and in the console.

They should error and YTest.to_yaml should not error. Do they?