Loading...

Knowledge Base

Get Started with Ruby On Rails

Did you find this article helpful?
Copy Link

 
* Your feedback is too short
Share this article

Don't know where to start with Ruby on Rails? We've got you covered!

Note: you will need SSH access to use Ruby on Rails, which is not enabled by default. 

Ruby On Rails

Ruby On Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern. From the Ajax in the view, to the request and response in the controller, to the domain model-wrapping the database, Rails gives you a pure-Ruby development environment. To go live, all you need to add is a database and a web server.

Note: we use Ruby with Passenger while cPanel uses Ruby with Mongrel, so the cPanel Ruby app is not available.

Here are a few guides for getting set up:

Just Ruby (without Rails)

If you would like to use Ruby without the Rails framework (just like PHP is used) then you probably want to learn about eRuby. Although eRuby does not offer the same framework and structure that Ruby on Rails does, it makes it easy to upload a Ruby script file (an 'rhtml' file) that works once uploaded. There is no need to start or stop a server like you have to do with Rails. 

Getting Started with eRuby

 

Did you find this article helpful?
Copy Link

 
* Your feedback is too short

Loading...