# Gems

## 数据库

1. [scenic](https://github.com/thoughtbot/scenic) 待版本控制的数据库视图管理&#x20;
2. [rails\_db](https://github.com/igorkasyanchuk/rails_db) 数据库在线GUI管理
3. [paranoia](https://github.com/rubysherpas/paranoia/) 数据软删除
4. [acts\_as\_list](https://github.com/swanandp/acts_as_list) 实现数据排序
5. [acts-as-taggable-on](https://github.com/mbleigh/acts-as-taggable-on) 给数据打标签
6. [closure\_tree](https://github.com/ClosureTree/closure_tree) 给数据定义树形结构
7. [active\_attr](https://github.com/cgriego/active_attr) 像ActiveRecord一样使用Class，但是不用连接数据库

## 视图

1. [codemirror-rails](https://github.com/fixlr/codemirror-rails/) 代码查看、编辑器
2. [terminal-table](https://github.com/tj/terminal-table/) 可把数组排版为终端显示的表格输出
3. [sanitize](https://github.com/rgrove/sanitize) 清理HTML源代码
4. [kaminari](https://github.com/kaminari/kaminari) Model数据库记录或数组的分页插件&#x20;

## HTTP API

1. [flexirest](https://github.com/flexirest/flexirest/) REST API 转为Model实例
2. &#x20;[faraday](https://github.com/lostisland/faraday) HTTP 客户端

## 待分类

1. [annotate\_models](https://github.com/ctran/annotate_models) 自动为Model、Route、Fixture等生成备注信息

### Kaminari-i18n

分页国际化 <https://rubygems.org/gems/kaminari-i18n>

### Simple\_form

更好用的form <https://github.com/plataformatec/simple_form>

### Closure Tree

ActiveRecord模型层次结构 <https://github.com/ClosureTree/closure_tree>

### Browser

判断浏览器类型 <https://github.com/fnando/browser>

### impressionist

访问统计 <https://github.com/charlotte-ruby/impressionist>

### Rails-ERD

为Rails生成实体关系图 <https://github.com/voormedia/rails-erd>

### RailRoady

为Rails模型和控制器生成UML类图 <https://github.com/preston/railroady>

### Httparty

Http访问 <https://github.com/jnunemaker/httparty>

### RequestStore

全局存储请求 <https://github.com/steveklabnik/request_store>
