Plugins - Simply Relaxed
Add to favorites===Simply Relaxed
Author: Brasten Sager
Date: September 15th, 2006
License: MIT-LICENSE
Simply Relaxed plugin provides RELAX NG schema generation for your models.
EXAMPLE:
class OrdersController < ApplicationController def index @orders = Order.find(:all)
respond_to do |wants|
wants.xml { render :xml => @orders.to_xml }
wants.rng { render :xml => Order::to_rng }
end
end end
URL: http://localhost:3000/orders.xml URL: http://localhost:3000/orders.rng
http://www.ibrasten.com/articles/2006/09/15/simply-relaxed-rails-plugin
http://svn.superruby.com/svn/plugins/simply_relaxed
Rails' (MIT)
Controllers
