Plugins - Simply Relaxed

StarAdd 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

Brasten Sager

http://www.ibrasten.com/articles/2006/09/15/simply-relaxed-rails-plugin

http://svn.superruby.com/svn/plugins/simply_relaxed

Rails' (MIT)

  • Currently 5.0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Controllers

Tags

Comments

Add a comment

Search Plugins

Query syntax

Plugins by Category

Sponsors

Rails Kits: Get Code. Get Moving.

Have a comment?