Which of the following statements is true for this Ruby on Rails code:
#!/usr/bin/ruby
class Example
VARx = 100
VARy = 200
def show
puts "Value of first the constant is #{VARx}"
puts "Value of the second constant is #{VARy}"
end
end
In Ruby on Rails, when a user creates a form using the form_for(@user) function, _________ and _________ are used when @user.new_-record is true and false respectively.
In Ruby on Rails, in a page containing rollover images, ____________________ is the process of loading every image required before the page is rendered.