"Uninitialized constant" error when including a module "Uninitialized constant" error when including a module ruby ruby

"Uninitialized constant" error when including a module


Andrew Marshall has an excellent point about the auto-load setup (see the question he links for more on that), but also: Because you named your class ListerExtension, Rails will be looking for a file named lister_extension.rb - not lister.rb. It's smart, but it's not that smart.

Hope that helps!