Question
In how many ways you can create Rails layout HTTP response.

Answers

There are three ways to create an HTTP response from the controller's point of view:

Call render to create a full response to send back to the browser
Call redirect_to to send an HTTP redirect status code to the browser
Call head to create a response to end back to the browser   Your Comment




More Software Questions..
What is the inputsplit in map reduce software?

What is software configuration management?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?

What are the minimum system requirements to run Photoshop? Is it possible to run Photoshop over linux?

Which oracle package is used to manage the oracle lock management services?

What is Latch Up? Explain Latch Up with cross section of a CMOS Inverter. How do you avoid Latch Up?

What is marker interface?

What types of partitioning are there for BW?



Search
Can you Answer!!
  • Q What is circumflex artery
  • Q What's a 'test plan'?
  • Q Which of the following illustrates the correct way to pass a parameter into an applet: A. B. C. D. Select the most appropriate answer.
  • Q Explain how to create an e-mail signature in an Outlook?
  • Q What is the difference between beanfactory and applicationcontext?
  • Q what is the scientific name of Piranha ?
  • Q How many product does a med rep usually carry? How do you get bonuses paid on them?
  • Q What are the types of crm technology?
  • Q How do cash dividends affect the financial statements?
  • Q How do you manage session in ASP and ASP.NET
  • Q Which disease is also known as 'Pink eye'?