Railsプラグイン[終了]
-
03-07-2019 - |
質問
「必須」とみなすお気に入りのRailsプラグインは何ですか?
このエントリには、レールアプリケーションの大部分で使用するお気に入りの一部がリストされています。私のお気に入りのRailsプラグイン
解決
これらはすべて、Railsプロジェクトの99%で使用しています。各リンクは、彼らが何をし、なぜ彼らが素晴らしいのかについての詳細な情報を提供します。
助けてくれた!
他のヒント
- http://github.com/mislav/will_paginate
- http://github.com/nex3/haml
- http://ennerchi.googlecode.com/svn/trunk/plugins/jrails
- http://github.com/smtlaissezfaire/annotate_models (rspecをサポートするフォーク)
- http://github.com/dchelimsky/rspec
- http://github.com/dchelimsky/rspec-rails
- http://github.com/joshknowles/rspec-on-rails-matchers
宝石またはプラグイン、重要ではありません:
アプリに何らかのユーザーモデルがある場合、Rick Olsenの restful-authentication は必須です。
私はまた、 exception_notification には本番アプリのエラーに関するタブを保持することに部分的に賛成です。 。
HAML(およびその兄弟SASS)は本当に私にとってナンバーワンです。ほんの数分でそれらを学ぶことができ、それらが保存する時間は非常に速くなります。
また、RESTful認証の代替として Authlogic もご覧ください。
最近私がプロジェクト全体で使用した最も一般的なもの(すべて最も一般的なものではありません)
- レストフル認証 ( http://github.com/technoweenie/restful-authentication/tree/master)
- ステートマシンとして機能 ( http://github.com/rubyist/aasm/tree/master )
- Mislavのwill_paginate ( http://github.com/mislav/will_paginate )
- HAML& SASS ( http://github.com/nex3/haml )
- RSpec ( http://github.com/dchelimsky/rspec )
- RSpec-Rails ( http://github.com/dchelimsky/rspec-rails )
annotate_models
- https://github.com/ctran/annotate_models
custom_err_msg
- https://github.com/gumayunov/ custom-err-msg
jrails
- https://github.com/aaronchi/jrails
validation_reflection
- https://github.com/redinger/validation_reflection
acts_as_taggable shoulda(gem、しかし優れた単体テスト)
通常のアプリ開発
- RESTFul認証
- shoulda
- 例外通知よりもHoptoadの方が好きですが、どちらにもメリットがあります
- Mochaスタブライブラリ
- ファクトリーガール
Facebook開発
- facebooker
- facebooker_authentication
プラスを繰り返す必要のない他の回答に既にリストされているもの:
- acts_as_categoy
- クリップ
- open_id_authentication
- ZenTest gem
ar_mailer でメールを配信します。