哪些 rails 插件是好的、稳定的并且*真正*增强您的代码? [英] What rails plugins are good, stable and *really* enhance your code?

查看:46
本文介绍了哪些 rails 插件是好的、稳定的并且*真正*增强您的代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都拥有稳定的 rails 插件列表,并为您提供足够的功能,值得付出额外的努力来支持?

Anyone have a list of rails plugins that are both stable and give you enough functionality to be worth the extra effort of supporting?

我最感兴趣的是最好、最完整的插件列表,因此我可以在下一次启动 rails 应用程序时使用它.我目前不需要特定的插件.

I am mostly interested in the best, most complete list of plugins so I can use it the next I'm starting a rails app. I don't currently need a particular plugin.

推荐答案

您可以使用 bort 作为参考

You can use bort as reference

已安装插件

Bort 自带了几个常用的插件已安装并已设置.

Bort comes with a few commonly used plugins installed and already setup.

RESTful 身份验证

RESTful 身份验证已经设置.路线已设置,沿与邮寄者和观察者.忘记密码来设置,所以你不必乱设置处理每个项目.

RESTful Authentication is already setup. The routes are setup, along with the mailers and observers. Forgotten password comes setup, so you don’t have to mess around setting it up with every project.

预装了 AASM 插件.还设置了 RESTful 身份验证使用用户激活.

The AASM plugin comes pre-installed. RESTful Authentication is also setup to use user activation.

用户角色

Bort 现在带有角色要求通过蒂姆哈珀.默认管理员角色是与默认管理员一起预定义用户.查看管理员的迁移登录详细信息.

Bort now comes with Role Requirement by Tim Harper. A default admin role is predefined along with a default admin user. See the migrations for the admin login details.

开放身份验证

从 0.3 开始,Bort 具有 Open ID与 RESTful 集成验证.欢呼吧!

Bort, as of 0.3, has Open ID integrated with RESTful Authentication. Rejoice!

将分页

我们几乎使用 will_paginate我们使用的每个项目,所以 Bort 来了预装了它.

We use will_paginate in pretty much every project we use, so Bort comes with it pre-installed.

Rspec &Rspec-rails

你应该测试你的代码,所以Bort 带有 Rspec 和 Rspec-rails已经安装,所以你准备好了滚.

You should be testing your code, so Bort comes with Rspec and Rspec-rails already installed so you’re ready to roll.

异常通知

您不希望您的应用程序崩溃和燃烧所以异常通知程序已经安装好让你知道当一切都变得糟糕时.

You don’t want your applications to crash and burn so Exception Notifier is already installed to let you know when everything goes to shit.

资产打包器

打包你的 css/javascript 所以你不会发送 143 个文件到用户同时.减少加载时间并节省您的带宽.

Packages up your css/javascript so you’re not sending 143 files down to the user at the same time. Reduces load times and saves you bandwidth.

p/s:同意@eric,细节

p/s: agree with @eric, specifics

这篇关于哪些 rails 插件是好的、稳定的并且*真正*增强您的代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆