--- title: ROR好用的套件 --- ###### tags: `輔助工具` [TOC] --- # 可以上線的軟體。 * AASM:狀態機。[GitHub](https://github.com/aasm/aasm)、[教學連結](https://5xruby.tw/posts/know-aasm/) * braintree:假刷卡設定。[網頁](https://sandbox.braintreegateway.com/login)、[教學軟體](https://ithelp.ithome.com.tw/articles/10188966) * cancancan:權限管理系統。[GitHub](https://github.com/CanCanCommunity/cancancan)、[教學連結](https://hugtrueme.github.io/rails/2018/10/16/role-based-auth-demo.html) * carrierwave:圖片上傳套件。[GitHub](https://github.com/carrierwaveuploader/carrierwave)、[教學連結一](https://ithelp.ithome.com.tw/articles/10199035)、[教學連結二](https://ithelp.ithome.com.tw/articles/10199103?sc=pt)、[教學連結三](https://ithelp.ithome.com.tw/articles/10199106?sc=pt) * devise:會員建立軟體。[GitHub](https://github.com/heartcombo/devise)、[教學連結](https://ihower.tw/rails/auth.html) * Feather:網頁圖案軟體。[GitHub](https://github.com/feathericons/feather)、[網頁連結](https://feathericons.com/?ref=techmoon)、[教學連結](https://techmoon.xyz/feathericons/) * friendly_id:網址美化用。[GitHub](https://github.com/norman/friendly_id)、[教學連結](https://oawan.me/2015/seo-via-friendly-id/) * figaro:儲存密鑰管理套件。[GitHub](https://github.com/laserlemon/figaro)、[教學連結](https://ithelp.ithome.com.tw/articles/10252291) * hirb:irb好用的套件。[RubyGem](https://rubygems.org/gems/hirb/versions/0.7.3?locale=zh-TW) * kaminari:分頁套件。[GitHub](https://github.com/kaminari/kaminari) * omniauth-facebook:FB第三方登入。[GitHub](https://github.com/simi/omniauth-facebook),[RubyGems](https://rubygems.org/gems/omniauth-facebook/versions/4.0.0?locale=zh-TW) * paranoia:軟刪除軟體。[GitHub](https://github.com/rubysherpas/paranoia) * pundit:安全值設定。[GitHub](https://github.com/varvet/pundit) * rubocop:寫code規範軟體。[GitHub](https://github.com/rubocop-hq/rubocop) # 測試開發用的軟體。 * rspec-rails:做測試的軟體。[RubyGems](https://rubygems.org/gems/rspec-rails/versions/3.4.2?locale=zh-TW) * faker:做測試的軟體。[RubyGems](https://rubygems.org/gems/faker) * factory_bot_rails:做測試的軟體。[RubyGems](https://rubygems.org/gems/factory_bot_rails) * timecop:可以設定時間的軟體。[RubyGems](https://rubygems.org/gems/timecop) # 開發用軟體 * foreman:跟rails s 功能差不多的好伺服器軟體。[RubyGems](https://rubygems.org/gems/foreman),使用說明:要建一個Procfile(不需要副檔名),裡面加上以下內容。 ```ruby= #web123、webpack444、port都可以自訂: web123: bin/rails server -p 3000 webpack444: bin/webpack-dev-server ``` # CSS語法用具 * Owl Carousel 2:網頁幻燈片工具。[GitHub](https://github.com/OwlCarousel2/OwlCarousel2)、[網頁連結](https://owlcarousel2.github.io/OwlCarousel2/) # ruby自帶功能 * ActionCable:可以讓 Rails 實現即時通訊的方式。[教學連結](https://mgleon08.github.io/blog/2018/06/21/rails-action-cable/)
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up