search for: hash_for_

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

Did you mean: hack_for_
2009 Jul 06
0
Routing via regexp with map.resources?
...ionpack-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 there''s a colon in the middle of the method name it''s trying to define. So is there a way around this? What am I doing wrong? This is Rails 2.2.2, btw. Thanks. --mark