Login
Remember
Register
User Robin
Wall
Recent activity
All questions
All answers
Ask a Question
Questions by Robin
0
votes
1
answer
How would you render a view using a different layout in an ERB HTML view?
asked
Aug 26, 2022
in
Ruby
ruby-on-rail
0
votes
1
answer
How do you add Ruby code inside Rails views and have its result outputted in the HTML file?
asked
Aug 26, 2022
in
Ruby
ruby-on-rail
0
votes
1
answer
In ActiveRecord, what is the difference between the has_many and has_many :through associations?
asked
Aug 26, 2022
in
Ruby
ruby-on-rail
0
votes
1
answer
You are using an existing database that has a table named coffee_orders. What would the ActiveRecord model be named in order to use that table?
asked
Aug 26, 2022
in
Ruby
ruby-on-rail
0
votes
1
answer
When using an ActiveRecord model, which method will create the model instance in memory and save it to the database?
asked
Aug 26, 2022
in
Ruby
ruby-on-rail
0
votes
1
answer
What is the reason for using Concerns in Rails?
asked
Aug 26, 2022
in
Ruby
ruby-on-rail
0
votes
1
answer
In Rails, how would you cache a partial template that is rendered?
asked
Aug 26, 2022
in
Ruby
ruby-on-rail
0
votes
1
answer
Given this code, which choice would be expected to be a true statement if the user requests the index action?
asked
Aug 26, 2022
in
Ruby
ruby-on-rail
0
votes
1
answer
Given the URL helper product_path(@product), which statement would be expected to be false?
asked
Aug 26, 2022
in
Ruby
ruby
0
votes
1
answer
For a Rails validator, how would you define an error message for the model attribute address with the message "This address is invalid"?
asked
Aug 26, 2022
in
Ruby
ruby-on-rail
0
votes
1
answer
How would you generate a drop-down menu that allows the user to select from a collection of product names?
asked
Aug 26, 2022
in
Ruby
ruby-on-rail
0
votes
1
answer
If a database table of users contains the following rows, and id is the primary key, which statement would return only an object whose last_name is "Cordero"?
asked
Aug 26, 2022
in
Ruby
ruby-on-rail
0
votes
1
answer
When a validation of a field in a Rails model fails, where are the messages for validation errors stored?
asked
Aug 26, 2022
in
Ruby
ruby-on-rail
0
votes
1
answer
Are instance variables set within a controller method accessible within a view?
asked
Aug 26, 2022
in
Ruby
ruby-on-rail
0
votes
1
answer
Given this code, which statement about the database table "documents" could be expected to be true?
asked
Aug 26, 2022
in
Ruby
ruby-on-rail
0
votes
1
answer
Which ActiveRecord query prevents SQL injection?
asked
Aug 26, 2022
in
Ruby
ruby-on-rail
0
votes
1
answer
Which choice includes standard REST HTTP verbs?
asked
Aug 26, 2022
in
Ruby
ruby-on-rail
+1
vote
1
answer
In Rails, which code would you use to define a route that handles both the PUT and PATCH REST HTTP verbs?
asked
Aug 26, 2022
in
Ruby
ruby-on-rail
0
votes
1
answer
Which module can you use to encapsulate a cohesive chunk of functionality into a mixin?
asked
Aug 26, 2022
in
Ruby
ruby-on-rail
0
votes
1
answer
What is before_action (formerly known as before_filter)?
asked
Aug 26, 2022
in
Ruby
ruby-on-rail
0
votes
1
answer
Which statement correctly describes a difference between the form helper methods form_tag and form_for?
asked
Aug 26, 2022
in
Ruby
ruby
0
votes
1
answer
Within a Rails controller, which code will prevent the parent controller's before_action :get_feature from running?
asked
Aug 26, 2022
in
Ruby
ruby-interview-questions-answers
0
votes
1
answer
Q1. When rendering a partial in a view, how would you pass local variables for rendering?
asked
Aug 26, 2022
in
Ruby
ruby-on-rail-intrview-questions-answers
0
votes
1
answer
Who Invented School
asked
Aug 24, 2022
in
Other
invented-school
school
school-test
+2
votes
1
answer
Explain Substring in Java
asked
Aug 24, 2022
in
JAVA
java-substring
substring-java
java
0
votes
1
answer
Code is checked in which type of testing?
asked
Aug 23, 2022
in
Software Defined Networking
code-check
software-engineering
0
votes
1
answer
Name an evaluation technique to assess the quality of test cases.
asked
Aug 23, 2022
in
Software Defined Networking
evaluation-technology
software-engineering
0
votes
1
answer
What do we mean by Six Sigma?
asked
Aug 23, 2022
in
Software Defined Networking
six-sigma
software-engineering
0
votes
1
answer
The FIT (Failure In Time) is another way in which one can REPORT __________.
asked
Aug 23, 2022
in
Software Defined Networking
software-engineering
0
votes
1
answer
Which one of these is a data problem?
asked
Aug 23, 2022
in
Software Defined Networking
data-problem
software-engineering
Page:
« prev
1
...
55
56
57
58
59
60
61
62
63
64
65
...
107
next »
...