https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292010-08-23T18:02:27ZRedmineRedmine - Defect #6196: undefined method `stringify_keys!' for #<Array:...>) when logging in, for some users onlyhttps://www.redmine.org/issues/6196?journal_id=196392010-08-23T18:02:27Zmathew murphy
<ul></ul><p>It looks as though this is caused by my LDAP authentication code returning the attributes using [ :foo => 'bar' ] syntax instead of { :foo => 'bar' }</p>
<p>What isn't clear to me is why the former ever worked...</p> Redmine - Defect #6196: undefined method `stringify_keys!' for #<Array:...>) when logging in, for some users onlyhttps://www.redmine.org/issues/6196?journal_id=197662010-08-26T05:19:00ZJean-Baptiste Barth
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li></ul><p>Rails 2.3.8 is not supported for the moment. <code>stringify_keys!</code> is part of <code>ActiveSupport::CoreExtensions</code> and may have changed between Rails 2.3.5 and 2.3.8. Can you read <a href="http://www.redmine.org/wiki/redmine/RedmineInstall#Requirements" class="external">requirements</a> and tell us if you see the same problem with supported versions ? I close the issue for the moment, reopen it if you still have problems with those versions.</p> Redmine - Defect #6196: undefined method `stringify_keys!' for #<Array:...>) when logging in, for some users onlyhttps://www.redmine.org/issues/6196?journal_id=197752010-08-26T14:21:14Zmathew murphy
<ul></ul><p>After changing my code to use curly rather than square brackets for the hash, it works--even with Rails 2.3.8.</p>