Hello,

ok, I solved it with the hard-way ...

:-)

I was not setting the format to iphone correctly in the application 
controller, the iPhone format only was available if the user connects 
from a subdomain iphone.mywebpage.com or via a custom parameter, 
format=iPhone.

As I'm developing locally with the 127.0.0.1 I don't have a quick-way to 
simulate iphone.127.0.0.1 or something similar, so I change the method 
and simply if the user connected is from an iPhone/iPod I show their 
pages directly.

I'll think in a better solution, but as this is for a test purposes, at 
this moment it's ok.

thanks,

r.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to