egervari
egervari

Reputation: 22512

I'm about to start a new project in rails

Are there any addons/plugins/etc. that I should take a look at before starting a new project besides RSpec? I'm going to be doing a fairly heavy ajax/interactive web application. It's probably going to have 60 models by the time I am done.

I'm just looking for direction as to what people commonly use these days with rails that saves time, makes your code cleaner, etc.

Some more specific things:

I ask these questions because I am a hardcore Java programmer just getting into Ruby

Upvotes: 0

Views: 104

Answers (2)

Tim Sullivan
Tim Sullivan

Reputation: 16888

It depends so, so much on what you're doing. Devise and Authlogic are good for authentication, Paperclip for file attachments, Factory Girl for test data, SCSS for improved CSS handling... there are so many. What kind of app are you making and what challenges do you expect? More info will make it easier to make suggestions.

Edited based on your comments: I would recommend Devise for user authentication, it'll handle salting and everything else and it's nearly brainlessly easy to use. For file and image uploading, Paperclip. For tagging, check out the jQuery Token Fields plugin.

Upvotes: 1

Christian Fazzini
Christian Fazzini

Reputation: 19713

Depends on your project scope. However, "common", may differ from dev to dev. My common list of gems include:

  1. Devise for authentication. An alternative: Authlogic
  2. Cancan for user roles.
  3. Carrierwave for uploads. Some alternative: Paperclip, Dragonfly
  4. Kaminari for pagination. An alternative: Will_paginate
  5. Friendly_id for pretty urls.

Above list, is a personal preference. Any other gems I can think of, may be more suitable for specific / non-general project scopes.

Hope that helps!

Upvotes: 3

Related Questions