V
V
v1z2011-08-15 02:47:39
Ruby on Rails
v1z, 2011-08-15 02:47:39

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

7 answer(s)
D
d4rkr00t, 2011-08-15
@d4rkr00t

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

S
sl_bug, 2011-08-15
@sl_bug

devise, easy_roles, haml, sass, sprockets, uglifier, carrierwave, ancestry, kaminari, unicorn
is short :)

K
Kir Shatrov, 2011-08-15
@RazoR_Empire

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

S
SmartBye, 2011-08-20
@SmartBye

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.

A
AbleBoy, 2011-08-15
@AbleBoy

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

U
UseRifle, 2011-08-20
@UseRifle

thinking sphinx. cells + I agree with much of the above.

K
Kasheftin, 2011-09-23
@Kasheftin

haml nafig, it's just a synonym for writing fewer characters. But scss - nested styles, variables - really helps. And compass + blueprint to get started faster and immediately beautiful appeared.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question