This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace :ordering do |order| | |
order.resources :codebook2s do |cb2| | |
cb2.resources :codebook2_line_items | |
end | |
... | |
... | |
end |
Here is the quick fix:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# merb-core-1.0.9/lib/merb-core/dispatch/router/route.rb | |
- SEGMENT_REGEXP_WITH_BRACKETS = /(:[a-z_]+)(\[(\d+)\])?/ | |
+ SEGMENT_REGEXP_WITH_BRACKETS = /(:[a-z0-9_]+)(\[(\d+)\])?/ |