rails/rails — pull request #4784 by semaperepelitsa (2012-01-31 10:18:22+00:00)
Title: A little constantize update

I was also able to reduce safe_constantize to the following without breaking any tests and I don't really understand what is the point in the deleted lines. Maybe someone could provide some tests explaining and covering them?

```ruby
def safe_constantize(camel_cased_word)
begin
constantize(camel_cased_word)
rescue NameError => e
end
end
```