Only one space is needed, yo!
This patch allows to specify the name of your models independent of the class name.
…odel serialization options. Closes #1058
…t use it only when needed.
Conflicts: actionpack/lib/action_view/helpers/date_helper.rb railties/lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt
…d security guide
Now that we propagate the enabling/disabling to descendants, we no longer have to check the disabled_observer Set on each superclass of the model class. This was causing a bug when disabling all observers at a superclass level and then enabling an individual observer at a subclass level. Plus the logic is simpler now :).
…keeping track of subclasses manually. There's also no need to keep track of all ObserverArray instances in a hash, as this is likely to leak memory, too.
…ls of the class hierarchy."" This reverts commit 2a25c58. I'm going to add another commit that keeps the same behavior of fixes the problems of leaking memory in development.
…e class hierarchy." This reverts commit ad62f19 because the current subclasses implementation leaks memory in development. Instead of keeping an array of subclasses, the better solution is to ask the parent if an observer is being disabled or not.
…hierarchy. Last call wins.