Q:

Rails No Method Error - odd

I have a little method to check for words starting with a capital letter defined in an initializer:
class String
    def not_proper?
       self[/^[A-Z].*/] != self
    end
end

And when I call it in the rails console, everything works as it should.
"Africa".not_proper?
>> false
"africa".not_proper?
>> true

But when I call it from my controller, as in:
success += 1 unless word.not_proper?

it throws a "undefined method `not_proper?' for "Africa":String"
What gives?
UPDATE!!!
It now works, as if by magic. I didn't change anything at all from the problem posed above. I can only assume that the "powder unlink" followed by "powder link" hack takes some time to re-initialize? Anyway, thanks as ever everyone for your comments. Have given +1 to your comments by way of thanks.

A:

It now works - without my doing anything. It seems that "powder unlink" followed by "powder link" is a poor way to reinitialize the server, as it takes time to take effect. So I will be following @MichaelLynch 's suggestion to restart pow in a better way.

