views:

26

answers:

1
==  AddIpToTutorials: migrating ===============================================
-- add_column(:tutorials, :ip_address, :string)
   -> 0.0022s
==  AddIpToTutorials: migrated (0.0022s) ======================================

>> t = Tutorial.new
..
>> t.ip_address
NoMethodError: undefined method `ip_address' for #<Tutorial:0x2b3b35f5a690>

... What gives? >__>

A: 

Ended up making a seperate migration and doing the same thing again.

Crumby, but it works...

Matt H