Move Forward. Scale upwards. With the right team, right software.

Building a right software helps you reduce operational costs by 28%, a study says. Make the right choice.

Read more about Right Choices Does our Services seem right for your business?

Development at a large Scale

Expertise moves mountains. Coordination moves multiple mountains.

Get the best of your investment by building a team that can move mountains when its necessary. Expertise plays an important role in helping your business grow beyond boundaries. Help us get you there.


Read more about our Services

Agility - A shoulder for your business burden

When your business landscape changes often, the software has to change often as well.

Get more mileage for the spend that you do with our agile teams.


Our Agility - A Speciality


Your industry - our industry

Different industries do not intimidate us. We strive to be a different gameplayer - a wizard who takes the best options from everything and puts it to use.

We have worked with many industries ranging from finance to startups to manufaturing factories to saas businesses. We always learn and put some of the best practices into use in other industries. This has been our magic and will be our magic.


Read more about Industries we cover

Want to be nimble? — Go Microservices!

When your business landscape changes often, the software has to change often as well.

Get more mileage for the spend that you do with our agile teams.


Our Agility - A Speciality

Recent Posts

Monday, October 16, 2017

Rails 204 Status Change - What does it mean?

Rails 204 Status Change - What does it mean?

Note: This is a change that is present in the latest Rails version 5. Versions before the 5 will throw an error "MissingTemplate" exception.


In Ruby on Rails 5, there is a change that is particularly important. Rails server issues a HTTP code of 204 No Content when you request a POST method without a template but the action for the same is present. This happens only when the HTTP Verb is POST and it doesn't happen for GET requests.

This is the sample code for the action which will be called as POST:


def create
  @user = User.new(params[:user])
end

So how does this help you?

  1. Now you can write your own POST actions which can be called via Ajax calls which will automatically get a success response because of the 204 http code and you can let your javascript handle the changes on the UI.
  2. GET via browser will throw an error. This is because Rails assumes that you have to have a template for showing some content to the user.

Any disadvantages?

  1. Your html page after the POST request will be still the same and the page won't transition to a new page. This means that it will look like nothing has been done by the server and the user might be confused if its a form POST.


Thanks for your support and appreciation.


4 Hours
Average weekly hours saved for each user for our customers
4 Solutions
Different solutions that help our customers within our engagement
11 New Customers
Average yearly happy and new customers

Do you want to talk to us?

Connect with us

We are open to talking about any requirements that you have. Send us a message!

Address:

No: 18, Jai Nagar 2nd Street, Valasaravakkam, Chennai - 600087

Work Time:

Monday - Friday from 9am to 7pm