Ruby on Rails online IDE & code editor for technical interviews

Experience the Ruby on Rails IDE yourself

See just how easy and intuitive CoderPad Interview is to use below.

Launch the environment

Guidelines to use Ruby on Rails in this online IDE

Running Ruby on Rails on CoderPad

The Ruby on Rails pad contains a built-in connection to a PostgreSQL database. Changes are automatically applied as you type them, and you can add as many files to the project as you need.

To get started, use the shell to generate the models/views/controllers that you need, and app/views/layouts/application.html.erb to customize your app and add links to your new resources.

Defining and Querying an API

We’ve installed curl in the container running your application, in case you’re more interested in a headless API than a full web application.  To query your API, you can run curl 127.0.0.1:3000/<your api path> to see your server’s output.

IntelliSense

IntelliSense is running across your entire project, allowing you to see when there are syntax errors or to get quick hints for how to resolve errors or TypeScript issues.  Note that intellisense for TypeScript is supported for these applications, but you’ll have to define a TS/JS build step in the Rails app to take advantage of it.

Shell

A shell is provided to you so you can inspect your container in more detail.  The shell can be used to install Rails gems using Bundler.  In addition to installing packages, the shell can be used for executing your test suite.

⚠️While it’s possible to edit files directly from the shell, we recommend using the editor to make your changes.  That way, other people in the pad can see your changes as they’re being made.

Container Limits

The container running your application has a few limitations.  Currently, we don’t limit your CPU usage, though this may change in future.  In addition to CPU, we monitor the network bandwidth that is consumed, and limit you to 75 MB for the duration of the container.  Finally, we limit the amount of memory accessible to each container to 0.5 GB.

Need a better way to interview candidates? Give CoderPad a try.