Ahh, yes, confirmed -- this works!
Thanks so much. I didn't realize this was a necessary step. -Jason On May 22, 2011, at 2:37 PM, Michael Koziarski wrote: > The error message you're receiving is pretty confusing, so there's > definitely something nicer we should do there. However I'm guessing > that this isn't a bug. > > You have to register a mime type for that extension, or an alias, if > you want it to work. Something like: > > Mime::Type.register_alias "text/html", :mobile > > If you don't, then rails can't tell what mime type to send with the response. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" 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-core?hl=en.
