Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [973b90877755522772480bce73fcbc17320da2ef] by snusnu

Revision 973b90877755522772480bce73fcbc17320da2ef, committed by snusnu · October 29th, 2010 @ 05:20 PM

Added missing AS require to active_model/naming.rb

We saw a failing spec when running the DataMapper
ActiveModel compliance specs for dm-active_model.

ActiveModel::Naming#model_name

relies on the Module#parents method defined in

active_support/core_ext/module/introspection.rb

Adding the appropriate require statement of course
fixed our specs.
http://github.com/rails/rails/commit/973b90877755522772480bce73fcbc...

1 changed file

  • M activemodel/lib/active_model/naming.rb