How to execute rails commandline statement inside our rails controller
eg: I need to execute this statement
$rails new test -d postgresql
from my rails controller
def index
/Code to execute the command line statement/
end
Hope am clear..
How to execute rails commandline statement inside our rails controller
eg: I need to execute this statement
$rails new test -d postgresql
from my rails controller
def index
/Code to execute the command line statement/
end
Hope am clear..