Topic: Accessing a column value after appending it through migration
After I created a model named 'user' I edited the migration to have all the columns that I needed. After I ran the migration, I thought of one more column I needed. So I generated a new migration, edited it, and ran it, and the column was inserted fine.
But now, when I try to access that information, activerecord returns nil, or null (is it an object?) every time, as if it didn't see that I added the column. I thought that my app would be aware that I added that column if I ran a migration (or even if I were to add it by hand).
Is there something more I need to do to be able to access this column from the database? (I have defined attr_accessor :column, and even tried writing a custom accessor method).