I had been using Rails 2.1.2 and in routes.rb i had a route defined
map.namespace :mysite do |mysite|
mysite.questions ‘/questions.:format’, :controller =>
‘mysite_questions’, :action => ‘index’
And now I have updated my rails version
Now I get an error like this.
Rails 2.3.5 application starting on http://0.0.0.0:3002
Route segment “(.:format)?” cannot be optional because it precedes a
required segment. This segment will be required.
Kindly Help me in this.
Thanks In Advance,