search for: rewrite_options

Displaying 3 results from an estimated 3 matches for "rewrite_options".

2006 Jan 10
4
Problem creating MockController
Hi there, I''m trying to create a mock controller to test the use of UrlHelper in ActionMailer. I''m trying this: require ''d:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.0/lib/action_controller'' # Re-raise errors caught by the controller. #class DiscussionsController; def rescue_action(e) raise e end; end class MockController < ActionController::Base def
2006 Mar 12
2
Strange error: undefined method `rewrite''
...or originates from the following code: ,---- | def url_for(options = {}, *parameters_for_method_reference) #:doc: | case options | when String then options | when Symbol then send(options, *parameters_for_method_reference) | when Hash then @url.rewrite(rewrite_options(options)) | end | end `---- Where is this ''rewrite'' method supposed to be and why can''t it be found? -- \ / vlad@hashbang.de \/lad http://www.hashbang.de
2006 Jul 18
16
Session is being shared between tabs!!??
I have just spotted quite a serious problem with my rails app. My app uses the session to store information. Most people who use the app may have more than one instance of it open in their browser (multiple tabs). The session stores which country the user has selected. On each browser tab the user may select a different country. You can add items to a country. There are problems with