My migration is adding a few fields to the images table for attachment_fu. The error I get is:> rake db:migrate(in C:/InstantRails/rails_apps/g1) rake aborted! uninitialized constant AttachmentImages Is it making a class by that name? --trace is useless, it tells me it was running ''up'' in the migration. I knew that. I searched all the files in the project for AttachmentImages but came up empty. Boy, am I stuck. The up part of the migration is: class AttachmentForImages < ActiveRecord::Migration def self.up add_column :images, :parent_id, :integer add_column :images, :content_type, :string add_column :images, :filename, :string add_column :images, :thumbnail, :string add_column :images, :size, :integer add_index :images, :artist_id end I''m using postgresql 8.2 but it doesn''t get that far, and the table is not modified in the database. Rails is 1.2.4 and ruby is 1.8.6. Any ideas? At all? Fredistic --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---