Is there a way to do what would be equivalent to a css media query in a controller in order to decide which erb template to use when rendering a page? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/faedc453-8eac-4bd5-ad1f-ee05688e3c5f%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.