Project

General

Profile

Redmine development help: wrong request method.. what can it be?

Added by Maxim Yastremsky about 13 years ago

i am trying to apply this one patch (http://www.redmine.org/issues/1189) for redmine version 1.1.1..
this patch was written almost one year ago.. and of course it DOES NOT work for current Redmine versions..

about my environment ($ RAILS_ENV=development script/about):
Ruby version 1.8.7 (i686-linux)
RubyGems version 1.3.7
Rack version 1.0
Rails version 2.3.5
Active Record version 2.3.5
Active Resource version 2.3.5
Action Mailer version 2.3.5
Active Support version 2.3.5
Edge Rails revision unknown
Application root /home/maxim/redmine-1.1.1
Environment development
Database adapter mysql
Database schema version 20101114115359

Operating system: Ubuntu 10.10
Ruby-aware server used: Webrick

I am not a professional Ruby on Rails developer, but i will try to describe my problem..
So problem is: after applying this patch on Redmine (http://www.redmine.org/projects/redmine/wiki/Patch) i can not create any new custom issue field.
while debugging with ruby-debug i figured out that in method "new" of CustomFieldsController comes request with "get" method instead of "post".
and while, my questions are:
1. Where i can look/manage what request method is used for submitting form while creating new Issue Custom Field?
2. how is it possible, in general, to debug instantiating of new ActiveRecord::Base?

So.. people, i will be grateful for any help, if is not enough info about my environment or issue - of course i'll detail..
thanks