---
title: "最近关注的几个rails插件"
author: "花花公子"
date: "2008-06-20T13:47:50Z"
tags: ["Google", "Linux", "Rails", "Ruby", "rspec"]
categories: ["编程语言"]
slug: "rails"
draft: false
lastmod: "2008-06-20T13:47:50Z"
id: 206189
url: "https://masterwujiang.iteye.com/blog/206189"
---

[simple_catcha](http://expressica.com/simple_captcha)
验证码插件，减少了自己写验证码判断的时间

[Menu Engine](http://www.muermann.org/ruby/menu_engine/)
使用Rails Engine实现菜单功能

[acts_as_menu_role](http://code.google.com/p/actsasmenurole/)
依赖[role_requirement](http://code.google.com/p/rolerequirement/)和[restful_authentication](http://agilewebdevelopment.com/plugins/restful_authentication)，使用role管理菜单

[has_flags](http://raincityonrails.com/has_flags)
使用标志位（比如linux中的文件权限 0644 = r+w|r|r），用一个字段表示一系列值的一个实现。

最后记录一下目前用到的一些插件，防止以后忘了
file_column
live_tree
active_merchant
acts_as_state_machine
ultrasphinx
rspec_on_rails
will_paginate
calendar_date_select