Check for Rails::Railtie specifically
Merge pull request #697 from etehtsea/fix-defined

Check for Rails::Railtie specifically