For the String class, when using #gsub! what are the potential return values?
Correct Answer: nil or the string instance
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Ruby On Rails Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Ruby On Rails MCQ Questions
Which of the following options will create a many-to-many relation between the 'users' and the 'jobs' tables?
If we need to associate one model with many others, what associations should we use?
Which option will create a new Rails application with default templates?
In a Rails application, a Gemfile needs to be modified to make use of sqlite3-ruby gems. Which of the following options will use these gems, as per the new Gemfile?
During the deployment of the Rails application through Git, you want certain files to be ignored. Which of the following files performs that operation?
Which of the following is a built-in feature of ActiveRecord
We have given: str = 'abcdef' Which of the following will return the string 'def'? 1) str[0,-3] 2) str[-3,3] 3) str[4,3] 4) str['def']
Which of the following are NOT Ruby keywords? 1) alias 2) yield 3) defined? 4) include?
Which of the following will return false?
Choose the correct result p a = 1, a = 2