I read your post, which made sense. So, I moved all my requires into the
initializer in the environment.rb file.
Rails then complained that it couldn't find active record, so I added
require 'activerecord', though it didn't seem right (rails should know
what that is). It then complained it doesn't know what the downcase
method ("Some string".downcase) is, which seems pretty basic.. so I'm
not sure what I'm messing up.
I read your post, which made sense. So, I moved all my requires into the
initializer in the environment.rb file.
Rails then complained that it couldn't find active record, so I added
require 'activerecord', though it didn't seem right (rails should know
what that is). It then complained it doesn't know what the downcase
method ("Some string".downcase) is, which seems pretty basic.. so I'm
not sure what I'm messing up.
My blog post obviously wasn't clear enough - I meant put your require
inside an initializer in config/initializers