# Adding table attributes / columns

**URL:** <https://www.ruby-forum.com/t/adding-table-attributes-columns/97864>\
**Category:** Rails\
**Created:** [July 11, 2006, 12:03am UTC](https://www.ruby-forum.com/t/adding-table-attributes-columns/97864 "2006-07-11T00:03:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zanoni](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/e99b99/32.png) [@zanoni](https://www.ruby-forum.com/u/zanoni)\
**Post date:** [July 11, 2006, 12:03am UTC](https://www.ruby-forum.com/t/adding-table-attributes-columns/97864/1 "2006-07-11T00:03:11Z")

</div>

I’m reading through Active Record in AWDWR and using script / console to  
type in the examples.  
I’ve been needing to add in columns to the table and see that unless I  
exit  
script / console and restart it won’t see the new columns.  
Of course exiting destroys the class and requires. Any other way I can  
work  
around this ?

TIA  
Stuart

---

<div class="post-metadata">

**Author:** ![zanoni](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/e99b99/32.png) [@zanoni](https://www.ruby-forum.com/u/zanoni)\
**Post date:** [July 11, 2006, 2:22am UTC](https://www.ruby-forum.com/t/adding-table-attributes-columns/97864/2 "2006-07-11T02:22:44Z")

</div>

> I’ve been needing to add in columns to the table and see that unless I exit  
> script / console and restart it won’t see the new columns.  
> Of course exiting destroys the class and requires. Any other way I can work  
> around this ?

Try typing:

reload!

at the console prompt.
