# Re: changing the type of a variable

**URL:** <https://www.ruby-forum.com/t/re-changing-the-type-of-a-variable/94676>\
**Category:** Ruby\
**Created:** [May 10, 2006, 9:10pm UTC](https://www.ruby-forum.com/t/re-changing-the-type-of-a-variable/94676 "2006-05-10T21:10:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gennady\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c57346/32.png) [@Gennady\_B](https://www.ruby-forum.com/u/Gennady_B)\
**Post date:** [May 10, 2006, 9:10pm UTC](https://www.ruby-forum.com/t/re-changing-the-type-of-a-variable/94676/1 "2006-05-10T21:10:06Z")

</div>

You may need to restart your Rails application so that your changes may  
be picked up.

Gennady.

---

<div class="post-metadata">

**Author:** ![Gennady\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c57346/32.png) [@Gennady\_B](https://www.ruby-forum.com/u/Gennady_B)\
**Post date:** [May 10, 2006, 9:19pm UTC](https://www.ruby-forum.com/t/re-changing-the-type-of-a-variable/94676/2 "2006-05-10T21:19:38Z")

</div>

Gennady B. wrote:

> You may need to restart your Rails application so that your changes may  
> be picked up.
> 
> Gennady.

Without wanting to sound really dumb, how do I restart a Rails app. As  
far as I can see, the only thing that is actually running is the server  
(WEBrick), which I had already tried restarting, without success… :-/

---

<div class="post-metadata">

**Author:** ![Gennady\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c57346/32.png) [@Gennady\_B](https://www.ruby-forum.com/u/Gennady_B)\
**Post date:** [May 10, 2006, 9:31pm UTC](https://www.ruby-forum.com/t/re-changing-the-type-of-a-variable/94676/3 "2006-05-10T21:31:35Z")

</div>

On 5/10/06, Allison N. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Gennady B. wrote:
> 
> > You may need to restart your Rails application so that your changes may  
> > be picked up.
> > 
> > Gennady.
> 
> Without wanting to sound really dumb, how do I restart a Rails app. As  
> far as I can see, the only thing that is actually running is the server  
> (WEBrick), which I had already tried restarting, without success… :-/

You will probably get better results from the Rails-specific list or  
forum.

[http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)

Please note that if you’re using Ruby-Forum to access information on  
Ruby and Rails, you are posting to a mailing list through a forum  
interface.

-austin

---

<div class="post-metadata">

**Author:** ![Gennady\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c57346/32.png) [@Gennady\_B](https://www.ruby-forum.com/u/Gennady_B)\
**Post date:** [May 10, 2006, 9:35pm UTC](https://www.ruby-forum.com/t/re-changing-the-type-of-a-variable/94676/4 "2006-05-10T21:35:29Z")

</div>

Austin Z. wrote:

> On 5/10/06, Allison N. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > Gennady B. wrote:
> > 
> > > You may need to restart your Rails application so that your changes may  
> > > be picked up.
> > > 
> > > Gennady.
> > 
> > Without wanting to sound really dumb, how do I restart a Rails app. As  
> > far as I can see, the only thing that is actually running is the server  
> > (WEBrick), which I had already tried restarting, without success… :-/
> 
> You will probably get better results from the Rails-specific list or  
> forum.
> 
> [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)
> 
> Please note that if you’re using Ruby-Forum to access information on  
> Ruby and Rails, you are posting to a mailing list through a forum  
> interface.
> 
> -austin

Maybe, but as I said, I’m a newbie when it comes to ruby, and really,  
from where I stand, this looks to be a ruby thing, not a Rails thing.  
Does the Ruby VM remember the types of variables even across sessions?  
How do I start a VM session anyway? How can I reset the VM?

---

<div class="post-metadata">

**Author:** ![Gennady\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c57346/32.png) [@Gennady\_B](https://www.ruby-forum.com/u/Gennady_B)\
**Post date:** [May 10, 2006, 9:40pm UTC](https://www.ruby-forum.com/t/re-changing-the-type-of-a-variable/94676/5 "2006-05-10T21:40:43Z")

</div>

On 5/10/06, Allison N. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Maybe, but as I said, I’m a newbie when it comes to ruby, and really,  
> from where I stand, this looks to be a ruby thing, not a Rails thing.  
> Does the Ruby VM remember the types of variables even across sessions?  
> How do I start a VM session anyway? How can I reset the VM?

There is no Ruby VM as you’d understand it. If you have something  
remembering the type of an object – not a variable; variables are  
typeless here – then it is probably a Rails problem.

This is only something that could possibly affect long-running  
processes.

-austin
