Displaying 20 results from an estimated 10000 matches similar to: "POST parameters incorrectly appended to REQUEST_URI"
2007 May 12
1
Custom form fields in tracker?
Hello,
I was just reading the following bug ticket:
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=10744&group_id=797
I notice that you devs have to repeat yourselves quite a bit about
requiring the different types of data that are required to diagnose
bugs. Could you modify the RubyForge tracker to accommodate this
information? You could even make them all required
2007 Aug 22
1
mock framework ethics question
Hi James, Jim, and everyone else who''s listening.
I''ve been investigating an interesting bug related to mocks and rails
AssociationProxies. See
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=12547&group_id=797
for details.
The crux is that if you do this (rspec mock syntax):
obj.should_receive(:msg).with(mock_of_a_model)
and the implementation does
2006 Jul 17
0
Difference between mongrel and webrick handling request.request_uri
If I do this GET request:
GET /comments/new?description_id=1 HTTP/1.1
what ends up in request.request_uri is different for mongrel and webrick:
Mongrel: "/comments/new"
Webrick: "/comments/new?description_id=1"
The mongrel behaviour breaks my app because I''m storing the uri to
redirect to it later. Mongrel even logs the request as:
127.0.0.1 - [Mon, 17 Jul 2006
2006 Feb 05
2
request.request_uri in production environment?
Hi,
What''s the problem with this line?
<%= ''height="750" valign="top"'' if request.request_uri =~ /survey_result/i %>
No problem with development environment but when uploading to server I
get application error.
And is there a better way to do this?
Thanks
2007 May 30
0
Error when accessing flash through helper specs
Running edge rspec/rails I''m having a heck of a time testing helpers which
are accessing the flash(1) since changeset 2044. Is anyone else seeing this
problem? Has anyone found a workaround and or proper fix?
Josh
1:
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=11223&group_id=797
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2007 Nov 18
8
helper methods starting with should
Hi all,
As an experiment in playing nice with others, we''ve added the ability
in rspec''s trunk to do this:
class ThingExamples < Spec::ExampleGroup
def should_do_stuff
...
end
end
This is how rspec 0.1 worked, and for people already comfortable with
the classes/methods approach of Test::Unit, it is a more comfortable
entry point to rspec.
For others, however, it
2007 Jun 18
0
login pre-filter and post data problems
Hello Folks,
I am trying to use a standard sort of login controller, whereby you
put a pre-filter on the pages on which you want the user to have to
login. This is all well an good, except for one thing. Here is some
code to save the original request uri before redirecting to the logon
page.
def authorize
...
session[:original_uri] = request.request_uri
logger.info("ApplicationController:
2005 May 21
0
How can I get a post-Routing translated url_for?
Is there a way to ask the Route system what controller and action
mapping will be used, given a hash containing :controller and :action?
I am trying to generalize the case where there is a button bar (e.g.
tabbed pages) having one image shown if you are presently visiting
that page, and another shown if you are not presently visiting that
page (e.g. an "active" and an
2013 Jun 06
1
Introducing MailJack: autogenerate querystring parameters that are appended to links in your emails
Hey All,
I just wrote a nifty gem and wanted to share(its one of my first).
Wondering if anyone would be so kind as to tell me what they think and/or
code review it.
MailJack - its like LoJack but for the links in your emails. The problem
this solves is the ability to track click throughs in emails.
https://github.com/synth/mail_jack
Basically, you specify what mailers you want to track
2005 May 13
0
Apache config for Squirrelmail?
This is my corrected configuration file for squirrelmail over ssl
if anyone is interested:
# squirrelmail.conf 2005 May 13 James B. Byrne JBB8
#
# SquirrelMail is a webmail package written in PHP.
# This configuration file forces users to connect via SSL
#
# If the incoming request is already https:// then this
# file will only be processed if the directive:
#
# Include
2010 Jul 18
3
Wine incorrectly appends ".so" to the libraries it loads
The problem itself is that Sins of a Solar Empire does not run under Wine, but I am quite confident that appending an extra ".so" is what's causing this game to crash, so I just made that the subject to hopefully get better results.
I'm using Wine 1.2 on both my desktop computer and my laptop. Sins of a Solar Empire works on the desktop, but not the laptop. I started with a
2007 Dec 23
1
Rails: possible routing discrepancy
Hey all, I''m seeing a strange behavior in my spec that I can''t
account for. I''ve got a route that looks like this:
map.writing \
''/writing'',
:controller => ''abstracts'', :action => ''index'',
:index => { :select => ''all'' }
and I have template code that looks like this:
<br
2011 May 08
5
Am I being to paranoid?
Hi All,
I want to know thoughts on if I am being to paranoid/security conscious.
CentOS 5.6, Apache, MySQL, running an Firewall in front of everything and obviously the built-in firewall on the box. I have ssh on a different port and starting to use Keys instead of password authentication. I host an intensive website and I am getting about 150 unique visitors per day.
What I am seeing is
2006 Aug 21
1
[ win32utils-Bugs-5479 ] Incorrect SetLastError declarations
Bugs item #5479, was opened at 2006-08-21 07:43
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=5479&group_id=85
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: Incorrect SetLastError declarations
Initial Comment:
windows-pr-0.5.3
lib\windows\error.rb
2008 Jul 19
0
[ wxruby-Bugs-21273 ] Segmantation fault in textctr.append_text
Bugs item #21273, was opened at 2008-07-19 17:51
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=21273&group_id=35
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Roman Zawada (zwadar)
Assigned to: Nobody (None)
Summary: Segmantation fault in textctr.append_text
Initial Comment:
I''m using window with one
2006 May 15
0
Accessing raw get/post?
Hello all,
could someone please tell me if there a simple way to access the raw
GET and POST values without going through params or manually parsing
the request.env[''REQUEST_URI''] string? I''ve looked through the
documentation without any success.
something like $_GET[''var''] from php would be ideal.
Thanks for your time,
Gavin
2007 Feb 21
1
setting session data from a post
I''m using acts_as_authenticated, and I''m trying to run some tests where
the user must be registered. In the past, I''ve just included a user id
in the session data.
def test_login_loads_from_post_session
post :new, nil, { :user => 7 }
session = assigns(:session)
assert_equal 7, session[:user]
end
My assert statement seems to be failing because my session is
2006 Apr 04
1
integration tests - 1.1
I?m using the new 1.1 integration test facility? I?m trying to write a
test that sees if a controller redirects to the correct place and
preserves the query string.
Here?s the code:
class LoginRedirectTest < ActionController::IntegrationTest
def test_non_admin_auth
request_uri = "/datafeed/event/report?blah=blah"
get(request_uri)
follow_redirect!
2007 Oct 27
0
[ wxruby-Bugs-15115 ] MenuBar and Statusbar showing wrong text
Bugs item #15115, was opened at 27-10-2007 13:50
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=15115&group_id=35
Category: Incorrect behavior
Group: current
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: MenuBar and Statusbar showing wrong text
Initial Comment:
$LANGUAGE =
2007 Jun 08
0
[ wxruby-Bugs-11446 ] Wx::TextCtrl behaves wrong when scrolling
Bugs item #11446, was opened at 2007-06-08 10:48
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=11446&group_id=35
Category: Incorrect behavior
Group: current
Status: Open
Resolution: None
Priority: 3
Submitted By: Mario Steele (eumario)
Assigned to: Kevin Smith (qualitycode)
Summary: Wx::TextCtrl behaves wrong when scrolling
Initial Comment:
On