本課時(shí)總結(jié)本書內(nèi)提到的常用的工具類 Gem。
提供了用戶注冊(cè),登錄,郵件確認(rèn)等眾多實(shí)用功能。
https://github.com/plataformatec/devise
分頁(yè)。
https://github.com/mislav/will_paginate
權(quán)限管理。因?yàn)?Ryan Bates已經(jīng)兩年沒(méi)有維護(hù) cancan 的代碼,Ruby 社區(qū)推出了 cancancan。
https://github.com/CanCanCommunity/cancancan
文件上傳。
https://github.com/carrierwaveuploader/carrierwave
搜索。
https://github.com/activerecord-hackery/ransack
后臺(tái)管理。
https://github.com/activeadmin/activeadmin
方便易用的表單。
https://github.com/plataformatec/simple_form
物理和邏輯刪除記錄。
lhttps://github.com/radar/paranoia
第三方驗(yàn)證。
https://github.com/intridea/omniauth
配置文件管理。
https://github.com/binarylogic/settingslogic/
開(kāi)源的電商程序。
https://github.com/spree/spree
開(kāi)源的社區(qū)程序。