01 June 2021

#Ruby-on-Rails

Define the polymorphic association in Ruby on Rails?
Define the rail controller?
Define Flash messages?
Define CSRF?
Define the setter method?
Define the work of setter in Ruby?
What is ORM?
What is nilClass error?
What is difference between nil? and present? and which is more optimized? nil? checks only if an object is nil? or not. But present? checks if object has some value or not. present? checks value in hash and array too.
What is rvm and what is the command to see all gemsets in rvm?
What does rake db:migrate do?
What is asynchronous call?
What is CSRF and how rails protects our application?
What is an CSV?
What is rake task?
What is ActionDispatcher?
What is used to store information in a program of the computer?
What are the text files saved on the customer system?
What continues tweaking??
What is Rake?
What is the use of Rail migration?
What is used to issue the error message?
What is used to provide the model name?
What is Lambdas?
Name the uses of Rub on Rails?
Name the task to write the application of Rail
Name the types of various types of associate relationship which survive?
Explain has_many through association with an real time example ?
Explain includes in active record?
Explain joins in active record?
Explain the required parameters?
Explain Pluck to hash?
Explain callback?
Explain getter in Ruby?
Which files are in plain text?
How is extend different from include in ruby?
How to add a column in a table in rails ?
How rails uses ORM?
How can we avoid nilclass errors?
How does rescue work in ruby?
How render and redirect_to available in controllers and not in models?
How to embed ruby code into html?
How to precompile assets in rails?
How to include javascript code in the view using rails?
How to use strong parameters in rails?
How to get all route path in the application?
How class and instance variables are defined in controller?
How to get current datetime in ruby?
How to convert IST datetime into USA time.
How to convert an datetime object into date object?
How to configure timezone for the entire application?
How to revert migration files?
How to get all unique values in an array?
How to check element exists in an array? Use include?.
How to access rails sql console?
How to reduce duplicate code?
How to generate a file in a temporary directory?
How to design the code by writing a test?
How to change the application details schema?
How to create content?
How to fix the issue in a language to restrict async operation?
When is ActiveRecord::Base.transactions used?
When is deep_symbolize_keys in params?
Difference between a symbol and a string?
Are ‘params’, ‘require’ and ‘permit’ available in model in rails?
Can we loop into an hash in ruby? Give an example?
Describe BDD?
Does ruby support multiple inheritance ? How ruby solves multiple inheritance ?
For avoiding n + 1 queries, should we use includes or joins?
Give the hierarchy of ruby method lookup?
Is rails rack based application? What is Rack in rails?
Is this below code valid?
Mention some filters used in controllers?
Mention the function of ORM in Ruby on Rails?
What’s the difference between map and each in ruby?
What’s the difference between create and create! in rails?

No comments:

Post a Comment

Most views on this month