where we use attr_accessor and attr_accessible in rails ?
Correct Answer: model
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
Given the following code, where is the 'party!' method available? module PartyAnimal def self.party! puts 'Hard! Better! Faster! Stronger!' end end class Person include PartyAnimal end
Which part of the MVC stack does ERB or HAML typically participate in?
Which of the following items are stored in the models subdirectory?
What is the output of the following code in Ruby? x= 'A' + 'B' puts x y= 'C' << 'D' puts y
Which gem is used to install a debugger in Rails 3?
Which of the following assertions are used in testing views?
What is green-threading?
If a method #decoupage(n) is described as O(n^2), what does that mean?
Which of the following replaced the Prototype JavaScript library in Ruby on Rails as the default JavaScript library?
What component of Rails are tested with unit tests?