Answer the question
In order to leave comments, you need to log in
Rails: the gems you use
What gems are you willing to use in each project?
I plan to start a new application, but before that I used Rails 2.3. Sometimes I discover something interesting, for the sake of which I then rewrite everything from scratch. Therefore, now I am collecting information about useful gems that allow you to do business, instead of reinventing the wheel.
What I have now noted for myself:
- Authentication: devise
- Permissions: cancan
- Creating forms: formtastic or simple_form - still thinking
- I will also try haml instead of erb
What other plugins exist, with which it is better to start making a project right away, before it's too late ?
Also interested in testing "for the lazy", not chasing 90% coverage, but only the main performance. Would a regular Test::Unit work, or does RSpec have some advantages?
Answer the question
In order to leave comments, you need to log in
In my project, in addition to the ones named (kaminari,devise,cancan,carrierwave), I use:
breadcrumbs_on_rails - to create breadcrumbs
rails_admin - to generate the admin
panel recaptcha - for captcha
jammit - to combine javascript, css files
acts-as-taggable-on - for tags
cucumber - for BDD
capistrano - deploy to server
nifty-generators - advanced generators
devise, easy_roles, haml, sass, sprockets, uglifier, carrierwave, ancestry, kaminari, unicorn
is short :)
I advise you to use this Russian fork with support for 3.x branches: github.com/Undev/russian
crummy for breadcrumbs,
paperclip, unicorn, coffeescript, sass, kaminari etc
I use slim instead of haml, it works faster, more concise and more convenient. The only thing that can stop is that not all ide support its syntax.
if you want haml , then you can also try sass to speed up writing style sheets.
even in Russian-language projects, the russian gem is indispensable.
client_side_validations - for duplicating client-side validation
to implement complex forms: formtastic + cocoon I use typus
as an admin panel for simple content sites
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question