> Ruby on Rails Strategy - From Idea to Mobile App RealityVinova Our team will brainstorm with you on where to begin, where to go, and how to get you there. Whether you have a spark of an idea or an existing app – we can help. Getting your mobile strategy right is what our unique services are all about. We’ll wrestle with business challenges, discover new opportunities that will help you define and refine your product ideas into mobile app reality.

Ruby on Rails – Anatomy of a Request object

Display current url without base url

<%= request.request_uri %> / <%= request.path%>
eg: /vinova/development/web_and_iphone_apps

Display previous url with base url

<%= request.referer %>
eg: http://www.vinova.sg/development/web_and_iphone_apps

Display base url

<%= request.env[‘HTTP_HOST’]%>
eg: www.vinova.sg

Display protocol

<%= request.env[‘SERVER_PROTOCOL’]%>
eg: HTTP/1.1

Full url

<%= request.url%>
eg: http://www.vinova.sg/development/web_and_iphone_apps

Display how many parameters found in current url

<%= request.query_parameters.size %>

url eg: www.vinova.sg/index.html?key=3&d=4
answer: 2 => (2 parameters)

Display controller name from current url

<%= request.path_parameters[‘controller’] %>
eg: contents

Display action name from current url

<%= request.path_parameters[‘action’] %>
eg: login

Everything inside a request

<%= request.inspect%>

Malcare WordPress Security

web design company singapore,mobile app development singapore,singapore web development,android developer singapore,mobile apps development singapore,app development singapore,graphic designer in singapore,website designer singapore,singapore mobile application developer,design agency singapore,website design singapore,web design singapore,developer in singapore,web development singapore,mobile application development singapore,web design services singapore,website development singapore,singapore web design,mobile apps singapore,web application singapore,ios app development singapore,app developer singapore,web designer singapore,ios developer singapore,singapore app developer,ruby on rails developer singapore,mobile application developer singapore,singapore mobile app developer,developers in singapore,mobile developer singapore,mobile app developer singapore,mobile game developer singapore,singapore web design services,web development company singapore,website developer singapore,singapore website design,design firms in singapore