Rails常用插件

测试驱动

 

权限认证

增加super devise

rails generate devise:install

rails generate devise Super

rails generate devise:views supers

 

前端框架

sass + bootstrap + compass + bootstrap-sass

1.new file: app/assets/images/glyphicons-halflings-white.png
2.new file: app/assets/images/glyphicons-halflings.png
3.modified: app/assets/javascripts/application.js

    +//= require bootstrap
4.new file: app/assets/stylesheets/custom.css.scss

    $iconSpritePath: image-path('glyphicons-halflings.png');
    $iconWhiteSpritePath: image-path('glyphicons-halflings-white.png');

    @import "bootstrap";
    @import "bootstrap-responsive";

 

MongoDB

 

Redis

 

Rails Search

  • Sunspot    使用solr,基于Lucene构建,需要Java环境
  • Thinking-sphinx    使用sphinx
  • Tire    使用elasticsearch,基于Lucene构建,需要Java环境

 

部署

 

已使用

awesome_nested_set接口介绍

https://github.com/collectiveidea/awesome_nested_set/wiki/Awesome-nested-set-cheat-sheet

pry-debuger

在~/.pryrc中加入以下快捷方式

Pry.commands.alias_command 'c', 'continue'
Pry.commands.alias_command 's', 'step'
Pry.commands.alias_command 'n', 'next'
Pry.commands.alias_command 'f', 'finish'

 

未使用

 

富文本编辑器

1. KindEditor

界面很简洁,很不错

2. CKEditor

https://www.ruby-toolbox.com/projects/ckeditor

功能很强大,很易用

3. TinyMCE

https://www.ruby-toolbox.com/projects/tiny_mce

 

转载于:https://www.cnblogs.com/scige/archive/2012/12/10/2812093.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值