Roar is coming

posted on January 29th by wayne

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

class PostsController < ApplicationController
  roar do  
    per_page 5
    order "published_at DESC, created_at"

    filters do
      search :text, [:title,:body]
      recent_dates :created_at
    end

    table do
      edit    :title
      column  :status
      date  :published_at
      delete
    end

    form do
      text_field :title
      text_area :body
      select_field :status, :choices=>Status.to_select
      check_box :published, :name=>"Published?"
    end
  end
end

What is Roar?

Roar is a plugin for Ruby on Rails that provides an automated admin interface for resources. It provides non intrusive and degradable ajax based CRUD, relationship editing, advanced widgets and more.

Resources

Feeds

Copyright © 2006 - 2007 Nanoware.