Fix after_initialize and Base.create edge case
fix behavior when after_initialize is defined and a block is passed to Base.create
… the dynamic finder The previous behavior was unintentional, and some people was relying on it. In the next version of Rails, the dynamic finder will always expecting the number of arguments to be equal or greater (so you can still pass the options to it.) It will raise the ArgumentError otherwise.
Cache key was incorrectly using timezone-dependent record#updated_at when it should be using a timezone-independent value to generate the cache key
(cherry picked from commit 9f7442a)
…e of Array#flatten under 1.9, see comment for details.
… will pick up the type column
ActiveSupport::Dependencies now raises NameError if it finds an existing constant in load_missing_constant. This better reflects the nature of the error which is usually caused by calling constantize on a nested constant. Closes #1423
Documentation Error Fixed for ticket #839
…ble_name Singularize individual table name
…es. This method will also return an empty array on an abstract class or a model that the table doesn't exists.