On 15 May 2012 17:23, Nicholas Faiz <[email protected]> wrote:
> Inherited Resources. It's great.

Personally I avoid inherited resources and devise like the plague.
They're helpful for the simple case, but as soon as you start
overriding the defaults you end up with control flow that's impossible
to understand.

I also strongly believe rails controllers should clearly display the
valid actions very explicitly. Any plugin that secretly adds a destroy
action is bad news.

Here's a few key gems that I use on nearly every rails project:

country-select
- add country select boxes to forms

fog
- API wrapper for cloud providers (AWS, Rackspace,etc)

strip_attributes
- remove whitespace and convert empty strings to nil before saving a model

whenever
- mini DSL for configuring crontab

tiemcop
- useful test helper for controlling time

machinist
- an clean and straightforward alternative to factory girl for building
  data in test suites.

delayed_job
- simple queuing library for pushing tasks out of the HTTP request
  cycle (sending emails, external API calls, etc). It's got some rough
  edges, but works well enough.

rein
- migration helpers that setup proper FK constraints in the database

James

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en.

Reply via email to