On 29 November 2011 12:47, Somnath Mallick <[email protected]> wrote:
> But how come coming out of the sandbox console deletes data from the
> database? Database values should be persistent right? That is the whole
> idea of a DB, or am i missing something here?

Yes - you're missing the point that a "sandbox" is there precisely to
revert the data you've been fiddling with back to what it was at the
start.
If you want to persist your changes, don't use the sandbox. If you
want to fiddle and do no damage, use the sandbox :-)

-- 
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.

Reply via email to