Ruby on Rails Online Test
For jobseekers
Practice your skills and earn a certificate of achievement when you score in the top 25%.
Take a Practice TestFor companies
Screen real Ruby on Rails skills, flag human or AI assistance, and interview the right people.
About the test
The Ruby on Rails online test assesses programming skills in Ruby and knowledge of the Ruby on Rails framework. This test includes solving live coding problems in Ruby.
The assessment includes solving work-sample tasks, such as:
- Mapping database tables and relationships to Ruby objects.
- Configuring routing mechanisms.
- Solving coding problems given specific requirements.
A good Ruby developer needs a solid understanding of the Ruby programming language and commonly used aspects of the Rails framework in order to create robust, scalable, and user-friendly web applications.
Sample public questions
Implement a group_by_owners function that:
- Accepts a hash containing the file owner name for each file name.
- Returns a hash containing an array of file names for each owner name, in any order.
For example, for hash {'Input.txt' => 'Randy', 'Code.py' => 'Stan', 'Output.txt' => 'Randy'} the group_by_owners function should return {'Randy' => ['Input.txt', 'Output.txt'], 'Stan' => ['Code.py']}.
Select all statements that are correct after the following migration has been executed:
class ContactsMigration < ActiveRecord::Migration
def change
create_table :contacts do |t|
t.string :name
t.integer :telephone_number
t.text :address, null: false
t.timestamps
end
end
endFor jobseekers: get certified
Earn a free certificate by achieving top 25% on the Ruby on Rails test with public questions.
Take a Certification TestSample silver certificate
Sunshine Caprio
Java and SQL TestDomeCertificate
For companies: premium questions
Buy TestDome to access premium questions that can't be practiced.
Ready to interview?
Use these and other questions from our library with our
Code Interview Platform.

24 more premium Ruby on Rails questions
Product Model, Books, Chain Link, Username, Crop Ratio, Segment, Read Write Execute, Read First Line, Log Patch, Numbers To Text, Students, Customer Orders, Invoice, Date Transform, Shipping, Teacher Route, Ranges, Language Teacher, Category Tree, Hobbies, String Occurrence, Paragraph, Greeter, Document Store.
Skills and topics tested
- Ruby on Rails
- Database Abstraction
- Collections
- Ruby
- Linked List
- Regex
- Strings
- Bug Fixing
- Integer Division
- Language
- Arithmetic
- Exceptions
- Monkey Patching
- JSON
- Serialization
- Sorting
- URL Routing
- Ranges
- Inheritance
- OOP
- Hash
- Arrays
- Iteration
- Stream
For job roles
- Back-End Developer
- Ruby Developer
- Ruby on Rails Developer
- Web Developer
Sample candidate report
Need it fast? AI-crafted tests for your job role
TestDome generates custom tests tailored to the specific skills you need for your job role.
Sign up now to try it out and see how AI can streamline your hiring process!
What others say
Simple, straight-forward technical testing
TestDome is simple, provides a reasonable (though not extensive) battery of tests to choose from, and doesn't take the candidate an inordinate amount of time. It also simulates working pressure with the time limits.
Jan Opperman, Grindrod Bank
Product reviews
Used by
Solve all your skill testing needs
150+ Pre-made tests
130+ skills
AI-ready assessments
How TestDome works
Choose a pre-made test
or create a custom test
Invite candidates via
email, URL, or your ATS
Candidates take
a test remotely
Sort candidates and
get individual reports



