I'm just loading it like this: >>Review Review(id: integer, productReview:text, product: string, productCreator: string, created_at: datetime, updated_at: datetime)
It's strange, I added an identical id to another structure called Album, well I added "review_id", and it worked out fine. On Fri, Sep 26, 2008 at 10:28 AM, Erol Fornoles <[EMAIL PROTECTED]>wrote: > > On Sep 27, 1:04 am, "Jon Liu" <[EMAIL PROTECTED]> wrote: > > thanks craig, > > > > I was able to generate the file w/the command and I added the > "add_column" > > code. When I do my migrate I can see rail iteratively compiling the > files > > and I see the > > > > 4 add_column(:reviews, :album_id, :integer) > > ->.2970s > > 4 AddAlbumIdToReviews: migrated (0.3120s) > > > > which means that's it's been migrated. But when i look at my Review > > structure in the console window the it still doesn't show up...any more > > thoughts? > > Just curious: how are you viewing the structure via the console? Are > you looking at an already loaded instance via the ruby console, like: > > > review = Review.find(:first) > > review > > Or are you viewing it via your db's console? > > > --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

