#120 ✓resolved
Gerald

AuthLogic and I18n : locale norway

Reported by Gerald | June 12th, 2009 @ 06:45 AM

Hi,

When I had a file no.yml to config/locales, to add the locale Norway to my rails app,

I get the following error (full output at bottom):

NoMethodError in User sessionsController#new

undefined method to_sym' for false:FalseClass

No problem occurs with yml files for cn,de, en, es, fr, it, nl

Full output:

NoMethodError in User sessionsController#new

undefined method to_sym' for false:FalseClass

RAILS_ROOT: C:/Users/gerald/rails_apps/jameswalker
Application Trace | Framework Trace | Full Trace

c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:195:in merge_translations'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:177:inload_file'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:177:in each'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:177:inload_file'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:13:in load_translations'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:13:ineach'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:13:in load_translations'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:85:ininit_translations'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:100:in lookup'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:33:intranslate'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/vendor/i18n-0.1.3/lib/i18n.rb:165:in t'<br/> c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/i18n.rb:49:int'
c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/credentials.rb:36:in acts_as_authentic_without_logged_in'<br/> c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/logged_in.rb:20:inacts_as_authentic_without_perishability'
c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/perishability.rb:22:in acts_as_authentic_without_persistence'<br/> c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/persistence.rb:23:inacts_as_authentic_without_session_maintenance'
c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/session_maintenance.rb:18:in acts_as_authentic_without_single_access'<br/> c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/single_access.rb:20:inacts_as_authentic_without_config'
c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/config.rb:231:in acts_as_authentic'<br/> C:/Users/gerald/rails_apps/jameswalker/app/models/user.rb:2<br/> C:/Users/gerald/rails_apps/jameswalker/app/controllers/application_controller.rb:34:incurrent_user_session'
C:/Users/gerald/rails_apps/jameswalker/app/controllers/application_controller.rb:39:in current_user'<br/> C:/Users/gerald/rails_apps/jameswalker/app/controllers/application_controller.rb:52:inrequire_no_user'

c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:195:in merge_translations'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:177:inload_file'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:177:in each'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:177:inload_file'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:13:in load_translations'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:13:ineach'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:13:in load_translations'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:85:ininit_translations'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:100:in lookup'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:33:intranslate'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/vendor/i18n-0.1.3/lib/i18n.rb:165:in t'<br/> c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/i18n.rb:49:int'
c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/credentials.rb:36:in acts_as_authentic_without_logged_in'<br/> c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/logged_in.rb:20:inacts_as_authentic_without_perishability'
c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/perishability.rb:22:in acts_as_authentic_without_persistence'<br/> c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/persistence.rb:23:inacts_as_authentic_without_session_maintenance'
c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/session_maintenance.rb:18:in acts_as_authentic_without_single_access'<br/> c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/single_access.rb:20:inacts_as_authentic_without_config'
c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/config.rb:231:in acts_as_authentic'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:380:inload_without_new_constant_marking'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:380:in load_file'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:521:innew_constants_in'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:379:in load_file'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:259:inrequire_or_load'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:425:in load_missing_constant'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:80:inrake_original_const_missing'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2503:in const_missing'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:92:inconst_missing'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/inflector.rb:361:in constantize'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/inflector.rb:360:ineach'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/inflector.rb:360:in constantize'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/string/inflections.rb:162:inconstantize'
c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/session/base.rb:79:in klass'<br/> c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/session/config.rb:156:inlogin_field'
c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/session/config.rb:342:in login_field'<br/> c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/session/base.rb:369:increate_configurable_methods!'
c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/session/base.rb:117:in initialize_without_scopes'<br/> c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/session/scopes.rb:81:ininitialize'
c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/session/base.rb:66:in new'<br/> c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/session/base.rb:66:infind'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/callbacks.rb:178:in send'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/callbacks.rb:178:inevaluate_method'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/callbacks.rb:166:in call'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/filters.rb:225:incall'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/filters.rb:629:in run_before_filters'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/filters.rb:615:incall_filters'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/filters.rb:610:in perform_action_without_benchmark'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/benchmarking.rb:68:inperform_action_without_rescue'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/benchmark.rb:17:in ms'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/benchmark.rb:10:inrealtime'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/benchmark.rb:17:in ms'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/benchmarking.rb:68:inperform_action_without_rescue'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/rescue.rb:160:in perform_action_without_flash'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/flash.rb:141:inperform_action'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/base.rb:523:in send'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/base.rb:523:inprocess_without_filters'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/filters.rb:606:in process'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/base.rb:391:inprocess'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/base.rb:386:in call'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/routing/route_set.rb:433:incall'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/dispatcher.rb:88:in dispatch'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/dispatcher.rb:111:in_call'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/dispatcher.rb:82:in initialize'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/query_cache.rb:29:incall'
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/query_cache.rb:29:in call'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/abstract/query_cache.rb:34:incache'
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/query_cache.rb:9:in cache'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/query_cache.rb:28:incall'
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in call'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/head.rb:9:incall'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/methodoverride.rb:24:in call'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/params_parser.rb:15:incall'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/rewindable_input.rb:25:in call'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/session/cookie_store.rb:93:incall'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/reloader.rb:9:in call'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/failsafe.rb:11:incall'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/lock.rb:11:in call'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/lock.rb:11:insynchronize'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/lock.rb:11:in call'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/dispatcher.rb:106:incall'
c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/rack/static.rb:31:in call'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/urlmap.rb:46:incall'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/urlmap.rb:40:in each'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/urlmap.rb:40:incall'
c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/rack/log_tailer.rb:17:in call'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/content_length.rb:13:incall'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/chunked.rb:15:in call'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/handler/mongrel.rb:61:inprocess'
c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:159:in process_client'<br/> c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:158:ineach'
c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:158:in process_client'<br/> c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:inrun'
c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in initialize'<br/> c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:innew'
c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in run'<br/> c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:268:ininitialize'
c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:268:in new'<br/> c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:268:inrun'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/handler/mongrel.rb:34:in run'<br/> c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/commands/server.rb:111<br/> c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:ingem_original_require'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in require'<br/> script/server:3

c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:195:in merge_translations'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:177:inload_file'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:177:in each'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:177:inload_file'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:13:in load_translations'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:13:ineach'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:13:in load_translations'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:85:ininit_translations'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:100:in lookup'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:33:intranslate'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/vendor/i18n-0.1.3/lib/i18n.rb:165:in t'<br/> c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/i18n.rb:49:int'
c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/credentials.rb:36:in acts_as_authentic_without_logged_in'<br/> c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/logged_in.rb:20:inacts_as_authentic_without_perishability'
c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/perishability.rb:22:in acts_as_authentic_without_persistence'<br/> c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/persistence.rb:23:inacts_as_authentic_without_session_maintenance'
c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/session_maintenance.rb:18:in acts_as_authentic_without_single_access'<br/> c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/single_access.rb:20:inacts_as_authentic_without_config'
c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/orm_adapters/active_record_adapter/acts_as_authentic/config.rb:231:in acts_as_authentic'<br/> C:/Users/gerald/rails_apps/jameswalker/app/models/user.rb:2<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:380:inload_without_new_constant_marking'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:380:in load_file'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:521:innew_constants_in'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:379:in load_file'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:259:inrequire_or_load'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:425:in load_missing_constant'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:80:inrake_original_const_missing'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2503:in const_missing'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:92:inconst_missing'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/inflector.rb:361:in constantize'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/inflector.rb:360:ineach'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/inflector.rb:360:in constantize'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/string/inflections.rb:162:inconstantize'
c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/session/base.rb:79:in klass'<br/> c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/session/config.rb:156:inlogin_field'
c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/session/config.rb:342:in login_field'<br/> c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/session/base.rb:369:increate_configurable_methods!'
c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/session/base.rb:117:in initialize_without_scopes'<br/> c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/session/scopes.rb:81:ininitialize'
c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/session/base.rb:66:in new'<br/> c:/ruby/lib/ruby/gems/1.8/gems/authlogic-1.4.1/lib/authlogic/session/base.rb:66:infind'
C:/Users/gerald/rails_apps/jameswalker/app/controllers/application_controller.rb:34:in current_user_session'<br/> C:/Users/gerald/rails_apps/jameswalker/app/controllers/application_controller.rb:39:incurrent_user'
C:/Users/gerald/rails_apps/jameswalker/app/controllers/application_controller.rb:52:in require_no_user'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/callbacks.rb:178:insend'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/callbacks.rb:178:in evaluate_method'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/callbacks.rb:166:incall'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/filters.rb:225:in call'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/filters.rb:629:inrun_before_filters'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/filters.rb:615:in call_filters'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/filters.rb:610:inperform_action_without_benchmark'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/benchmarking.rb:68:in perform_action_without_rescue'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/benchmark.rb:17:inms'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/benchmark.rb:10:in realtime'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/benchmark.rb:17:inms'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/benchmarking.rb:68:in perform_action_without_rescue'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/rescue.rb:160:inperform_action_without_flash'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/flash.rb:141:in perform_action'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/base.rb:523:insend'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/base.rb:523:in process_without_filters'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/filters.rb:606:inprocess'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/base.rb:391:in process'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/base.rb:386:incall'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/routing/route_set.rb:433:in call'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/dispatcher.rb:88:indispatch'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/dispatcher.rb:111:in _call'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/dispatcher.rb:82:ininitialize'
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/query_cache.rb:29:in call'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/query_cache.rb:29:incall'
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in cache'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/query_cache.rb:9:incache'
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/query_cache.rb:28:in call'<br/> c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:incall'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/head.rb:9:in call'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/methodoverride.rb:24:incall'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/params_parser.rb:15:in call'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/rewindable_input.rb:25:incall'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/session/cookie_store.rb:93:in call'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/reloader.rb:9:incall'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/failsafe.rb:11:in call'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/lock.rb:11:incall'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/lock.rb:11:in synchronize'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/lock.rb:11:incall'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/dispatcher.rb:106:in call'<br/> c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/rack/static.rb:31:incall'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/urlmap.rb:46:in call'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/urlmap.rb:40:ineach'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/urlmap.rb:40:in call'<br/> c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/rack/log_tailer.rb:17:incall'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/content_length.rb:13:in call'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/chunked.rb:15:incall'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/handler/mongrel.rb:61:in process'<br/> c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:159:inprocess_client'
c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:158:in each'<br/> c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:158:inprocess_client'
c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in run'<br/> c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:ininitialize'
c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in new'<br/> c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:inrun'
c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:268:in initialize'<br/> c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:268:innew'
c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:268:in run'<br/> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/handler/mongrel.rb:34:inrun'
c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/commands/server.rb:111
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require'<br/> c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:inrequire'
script/server:3

Request

Parameters:

None

Show session dump


Response

Headers:

{"Content-Type"=>"", "Cache-Control"=>"no-cache"}

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Object based authentication solution that handles all of the non sense for you. It's as easy as ActiveRecord is with a database.

People watching this ticket

Tags

Pages