Can I open a rails console in read-only mode? -


I used to query my Rail DB script / console Is done <. P> But in some cases I have to be extraordinarily careful about not changing the data, so I want to be able to open the console in read only mode.

Is there any way to do this?

Thank you!

refer to this question

  script / console - sandbox    

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

ruby on rails - Convert a Activerecord result with has_one associations into a single hash per record -

c# - Confused over DLL entry points (entry point not found exception) -