Which of the following assertions are used in testing views?
Correct Answer: assert_select_email
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
Is an AJAX call synchronous or asynchronous?
Which of the following commands will clear out sample users from the development database?
Given below are two statements regarding the Ruby programming language: Statement X: 'redo' restarts an iteration of the most internal loop, without checking loop condition. Statement Y: 'retry' restarts the invocation of an iterator call. Also, arguments to the iterator are re-evaluated. Which of the following options is correct?
Choose the best way to implement sessions in Rails 3: A) Using CookieStore B) By creating a session table and setting config/initializers/ session_store.rb with Rails.application.config.session_store :active_record_store C) By setting config/initializers/session_store.rb with Rails.application.config.session_store :active_record_store only
Which the correct way to skip ActiveRecords in Rails 3?
where we use attr_accessor and attr_accessible in rails ?
What is the recommended Rails way to iterate over records for display in a view?
Best way to create primary key as a string field instead of integer in rails.
Which is the correct way to know the Rails root directory path?
What is difference between 'has_one' and 'belong_to'?