08 Mar '13, 10am

How to do Responsive opt-out by setting the viewport with JavaScript or Ruby on Rails

Some mobile browsers (Opera on Android, Firefox on Android) do not update the actual viewport when the meta-tag gets changed after the page is loaded. If you zoom, Safari on iOS ignores the new value for initial-scale and keeps the current zoom level. So if you switch back to the responsive version, it does not use the full width of the screen anymore. You have to reload the page, to display it correclty. This of course diminishes the advantage of changing the meta -Tag on the client-side. Implementation with Ruby on Rails Now if we’ll look at a server-side implmentation for an opt-out possibility with Rails: You need a responsive_controller.rb class ResponsiveController < ApplicationController def optOut cookies[:responsive] = { :value => "no", :expires => 30.days.from_now } redirect_to(:back) end def optIn cookies.delete(:responsive) redirect_to(:back) end end Then add s...

Full article: http://www.wearecube.ch/how-to-do-responsive-optout-by-se...

Tweets

Top-tier Ruby on Rails / JavaScript developer

vacature.monsterboard.nl 12 Mar '13, 7am

Dank je voor je interesse in de functie Top-tier Ruby on Rails / JavaScript developer. Om te beginnen met het sollicitatie...

Próximos workshops "Learning by Doing": Machine...

facebook.com 12 Mar '13, 5pm

SUMA Conectivo - Events | Facebook

#US [contract] Ruby on Rails Developer at ✔ #jobs

contractjob.net 08 Mar '13, 9pm

This well-funded digital start-up is searching for a progressive Software Engineer with broad technology experience in Rub...

#UK [contract] Ruby on Rails Developer - Contra...

contractjob.net 08 Mar '13, 9pm

Our client, a large Online Sports Betting company located in Central London, is currently seeking a Ruby on Rails Develope...

@sebabromberg Grandes compañías que usan Ruby

blog.obiefernandez.com 18 Mar '13, 3am

Woke up this morning to the following email request from the CTO of one of Hashrocket 's big, important clients: Can you g...

Zendesk is looking for a Ruby on Rails Engineer...

hire.jobvite.com 07 Mar '13, 7pm

Ruby on Rails Engineer Dublin, Ireland We're looking for a talented Ruby on Rails engineer to help take Zendesk to the nex...

Graduate Ruby on Rails Developer:

findmjob.com 06 Mar '13, 1am

£28k - £30k + benefits You are a talented programmer looking for your first professional gig, with a computer science back...

#JDC2013 Live Now! Phil Calçado is performing "Moving away from a monolithic Ruby on Rails app to the JVM".

#JDC2013 Live Now! Phil Calçado is performing "...

facebook.com 09 Mar '13, 2pm

Timeline Photos Back to Album · Java Developers Conference (JDC)'s Photos · Java Developers Conference (JDC)'s Page Previo...

Tirando de blog - Buscamos programador backend Ruby on Rails y Javascript

Tirando de blog - Buscamos programador backend ...

blog.redradix.com 01 Mar '13, 10am

Buscamos programador backend Ruby on Rails y Javascript by @juanmaribeltran on 1/03/2013 Buenas. Unas breves líneas hoy pa...

How do I use Twitter Bootstrap with Ruby on Rai...

stackoverflow.com 11 Mar '13, 5am

I'm switching from PHP to Ruby on Rails and I'm loving it, the only thing is I'm so used to Twitter Bootstrap for most of ...

#FACEBOOK Installing a ruby on rails website on...

freelancer.com 05 Mar '13, 11pm

a very simple request, I need someone to install this site (files can be found here):- https://github.com/ParsePlatform/An...

Ruby on Rails Guides: Working with JavaScript i...

edgeguides.rubyonrails.org 01 Mar '13, 5am

We call this 'unobtrusive' JavaScript because we're no longer mixing our JavaScript into our HTML. We've properly separate...

We’re looking for a great all-round Ruby on Rails developer to help us build a gem of an app. #RoR #Amsterdam #dev -

We’re looking for a great all-round Ruby on Rai...

publitas.com 06 Mar '13, 2pm

Ruby on Rails (RoR) Developer (full-time) Build a gem of an app. Our mission is simple: we want to revolutionize digital c...

#Fashion: Jean-Paul Gaultier maitrise parfaitement le responsive web design! #web via @webandluxe

#Fashion: Jean-Paul Gaultier maitrise parfaitem...

webandluxe.com 07 Mar '13, 9am

S’il y a bien une technologie qui ne passe plus inaperçue c’est le Responsive Web Design . Ce nouveau bébé de la webosphèr...

Ruby on Rails Guides: Action Controller Overview:

guides.rubyonrails.org 14 Mar '13, 5pm

class ClientsController < ActionController::Base # This action uses query string parameters because it gets run # by an HT...