Hi Am in a process of upgrading my rails 2.1.2 to Rails 2.3.4. I have freezed the Rails 2.3.4 to my application as well. Here comes the problem , am using output_compression plugin for Gzip. But it is creating problem , am facing this error , undefined method `is_component_request?'' for #<ActionController::Request:0x78fcb0c> Tried searching for newer version of the plugin , which ll support with Rails 2.3.4. But no luck. Is this plugin does not work with Rails 2.3.4. Please help me with this. Thanks in Advance. Neetal -- Posted via http://www.ruby-forum.com/.
Hi Neetal, I see you facing a lot of problems with Rails 2.3.4 migration. It''s a very new release and probably you should wait for some more time to plugin authors to migrate. I was browsing output_compression plugin code ( http://craz8.com/svn/trunk/plugins/output_compression/lib/output_compression.rb) and it defines is_component_request? in AbstractRequest class. As far as I know, AbstractRequest was renamed to Request in Rails 2.3. Although, it is not a good idea to monkey patch the plugin, but if it''s very urgent you can try renaming AbstractRequest to Request and see whether it solves (or create new) problem. Thanks, Abhinav -- अभिनव http://twitter.com/abhinav On Fri, Sep 11, 2009 at 4:32 PM, Neetal Sharma < rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Hi > > Am in a process of upgrading my rails 2.1.2 to Rails 2.3.4. > I have freezed the Rails 2.3.4 to my application as well. > > Here comes the problem , am using output_compression plugin for Gzip. > But it is creating problem , am facing this error , > > > undefined method `is_component_request?'' for > #<ActionController::Request:0x78fcb0c> > > > Tried searching for newer version of the plugin , which ll support with > Rails 2.3.4. But no luck. > > Is this plugin does not work with Rails 2.3.4. > > Please help me with this. > > Thanks in Advance. > > Neetal > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi Abhinav Thanks for quick response. Yeah thats right that this version is very new,but we are building a platform, and have a requirement to build it on highest version. Can''t help :) I tried changing AbstractRequest to Request in output_compression. But error is still the same. Please suggest me , what else i can try and make it work. Thanks Neetal -- Posted via http://www.ruby-forum.com/.
Neetal, I have no idea. You should probably contact plugin author for help. On a different note, I was reading about problem with Ruby''s monkeypatching and I appreciate Avdi''s view now: http://avdi.org/devblog/2008/02/23/why-monkeypatching-is-destroying-ruby/ Thanks, Abhinav -- अभिनव http://twitter.com/abhinav On Fri, Sep 11, 2009 at 6:32 PM, Neetal Sharma < rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Hi Abhinav > > Thanks for quick response. > > Yeah thats right that this version is very new,but we are building a > platform, and have a requirement to build it on highest version. Can''t > help :) > > I tried changing AbstractRequest to Request in output_compression. But > error is still the same. > > Please suggest me , what else i can try and make it work. > > > Thanks > Neetal > > > > > > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Abhinav Saxena wrote:> Neetal, I have no idea. You should probably contact plugin author for > help. > > On a different note, I was reading about problem with Ruby''s > monkeypatching > and I appreciate Avdi''s view now: > http://avdi.org/devblog/2008/02/23/why-monkeypatching-is-destroying-ruby/ > > Thanks, > Abhinav > -- > अभिनव > http://twitter.com/abhinav > > > > On Fri, Sep 11, 2009 at 6:32 PM, Neetal Sharma <===============Sure Abhinav , Thanks much !! -- Posted via http://www.ruby-forum.com/.