Ruby Interview Questions
Questions Answers Views Company eMail

Can you please explain what is the difference between string and symbol?

1

Tell me the role of modules and mixins in ruby?

1

Tell me what is the command to create a migration?

1

Tell me what is the difference between active support's “hashwithindifferent” and ruby's “hash” ?

1

Do you know about dig, float and max?

1

Do you know how ruby looks up a method to invoke?

1

As you know ruby provides four types of variables. List them and provide a brief explanation for each?

1

Tell me what are blocks and procs?

1

Do you know what is the defined operator?

1

Tell us the types of variables available in ruby class?

1

Explain me what is the difference between symbol and string?

1

Tell me what is the role of sub-directory app/controllers and app/helpers?

1

Please explain what is mvc and why do we use it?

1

Tell me what is the difference between calling super() and super call?

1

Tell me how symbol is different from variables?

1


Post New Ruby Questions

Un-Answered Questions { Ruby }

How will you comment in ruby.

1


How is object methods defined in ruby?

5


Where does a scope change in a ruby program?

5


Why Ruby is known as a language of flexibility?

5


Explain Ruby exceptions?

5


Define ruby methods.

1


Explain do while loop in ruby.

1


What are class libraries in Ruby?

3


Explain break statement in Ruby?

5


Can you please explain what is the difference between string and symbol?

1


What is the difference between calling super and calling super()?

1


What are the different uses of ruby modules?

5


Explain ampersand parameter (&block) in Ruby?

3


What things we can define in the model?

5


What is the naming conventions for methods that return a boolean result?

5