Fritz Trapper wrote: > I would like to give my users an opportunity to switch the application > into a sandboxmode, where it is possible to play with it without the > danger to insert junk into the database. > > I guess, setting RAILS_ENV = 'development' works globally for the whole > server. Is there a possibility to switch a single session to > development?
I don't think you want to do that. I think you want to create a clone of your *production* environment (call it sandbox or something) with a separate database, then have a completely separate instance of the application running with RAILS_ENV set to 'sandbox'. Best, -- Marnen Laibow-Koser http://www.marnen.org mar...@marnen.org -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.