search for: define_hash_access

Displaying 1 result from an estimated 1 matches for "define_hash_access".

2009 Jul 06
0
Routing via regexp with map.resources?
..._regexp'', :controller => ''parties'', :requirements => { :parties_query_regexp => / parties.*/ } ...then the server fails on startup like so: lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/routing/ route_set.rb:141:in `define_hash_access'': (eval):3:in `define_hash_access'': compile error (SyntaxError) (eval):1: syntax error, unexpected '':'', expecting ''\n'' or '';'' def hash_for_:people_query_regexp_index_pat... It chokes on a syntax error because ther...