[uf-rest] ahah/xhtml and meta tags

David Heinemeier Hansson david at loudthinking.com
Fri Mar 17 11:28:56 PST 2006


> Are you saying you're not interested in serving markup to user agents
> that don't support JS? Or am I misunderstanding?

HTML agents for the work we do at 37signals, yes.

But I've actually just added support to Rails to make it much easier  
if you wanted to.

respond_to do |type|
   type.html { redirect_to :action => "index" }
   type.js   { render :action => "create.rjs" }
end

So if you want to service non-JS HTML clients with Rails, it's easier  
than ever.
--
David Heinemeier Hansson
http://www.37signals.com    -- Basecamp, Backpack, Writeboard, Tada
http://www.rubyonrails.com  -- Web-application framework
http://www.loudthinking.com -- Broadcasting Brain




More information about the microformats-rest mailing list