{"issue":{"state":"closed","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/ff38e505d90f680ed909d8949238d01e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"ff38e505d90f680ed909d8949238d01e","url":"https://api.github.com/users/silosteve5101","login":"silosteve5101","id":898191},"updated_at":"2011-10-30T12:21:28Z","labels":[],"assignee":null,"comments":1,"closed_at":"2011-10-30T12:21:28Z","url":"https://api.github.com/repos/rails/rails/issues/1985","body":"Hi, I am using activesupport-3.0.9 and i'm trying to run a Ruport example \"pdf_report_with_common_base.rb\"\r\n\r\nI am getting this:\r\n\r\npdf_report_with_common_base.rb:24:in `setup': undefined method `titleize' for \"a\":String (NoMethodError)\r\n        from *****/gems/1.8/gems/ruport-1.6.3/lib/ruport/data/table.rb:552:in `rename_columns'\r\n        from *****/gems/1.8/gems/ruport-1.6.3/lib/ruport/data/table.rb:552:in `each'\r\n        from *****/gems/1.8/gems/ruport-1.6.3/lib/ruport/data/table.rb:552:in `rename_columns'\r\n        from pdf.rb:24:in `setup'\r\n        from *****/gems/1.8/gems/ruport-1.6.3/lib/ruport/controller.rb:434:in `render'\r\n        from *****/gems/1.8/gems/ruport-1.6.3/lib/ruport/controller.rb:476:in `build'\r\n        from *****/gems/1.8/gems/ruport-1.6.3/lib/ruport/controller.rb:432:in `render'\r\n        from *****/gems/1.8/gems/ruport-1.6.3/lib/ruport/controller.rb:548:in `method_missing'\r\n        from pdf_report_with_common_base.rb:71\r\n        from IronRuby.Libraries:0:in `InvokeOpenBlock'\r\n        from pdf.rb:70\r\n\r\nA colleague of mine suggested is an Active_support bug regarding the \"require\" statements.\r\n\r\nrequire \"active_support\" calls active_support\\dependencies\\autoload.rb\r\nthis will require \"active_support/inflector/methods\" that has a \"module Inflector\",  needed for \r\n\r\n         location = path || Inflector.underscore(full)\r\n\r\nSomehow  \"super const_name, location\" in aotoload.rb messes the \r\n         require \"active_support/inflector\"\r\n\r\nAnd unless I replace in the \"pdf_report_with_common_base.rb\" the   \r\n         require \"active_support\"    \r\nwith         \r\n         require \"active_support/inflector\"   \r\nthe calling of the   titleize  method will crash the run.  \r\n\r\n---------------------------\r\nas a solution maybe you could rename the Initialize module.","html_url":"https://github.com/rails/rails/issues/1985","title":"active_support/inflector conflict with module name","number":1985,"id":1173926,"created_at":"2011-07-06T13:45:50Z"},"action":"closed"}