ruby - I'm about to start a new project in rails -


are there addons/plugins/etc. should take @ before starting new project besides rspec? i'm going doing heavy ajax/interactive web application. it's going have 60 models time done.

i'm looking direction people commonly use these days rails saves time, makes code cleaner, etc.

some more specific things:

  • support different user roles/privileges without typing myself concrete base classes, because it's possible roles can shared (basically more privilege-based system rather having subclasses each user type).
  • there's going lots of json requests , results - not lot of old-school style web programming.
  • themes
  • password salting/encryption
  • dynamic layouts based on privileges
  • public/private sections of site
  • lots of css/js
  • file , image uploads. maybe image storage/management thing, or should put in database these days?
  • taging
  • automatic positioning of records when inserted/updated (i figured code myself, i'll throw out there anyway)
  • paged results
  • sending emails
  • cron-like functionality execute services (send out weekly newsletters, remove unused user accounts, delete unused images on disk, etc.)

i ask these questions because hardcore java programmer getting ruby

depends on project scope. however, "common", may differ dev dev. common list of gems include:

  1. devise authentication. alternative: authlogic
  2. cancan user roles.
  3. carrierwave uploads. alternative: paperclip, dragonfly
  4. kaminari pagination. alternative: will_paginate
  5. friendly_id pretty urls.

above list, personal preference. other gems can think of, may more suitable specific / non-general project scopes.

hope helps!


Comments