From: Jacob Quinn Shenker Date: 2005-10-18T23:27:31+09:00 Subject: Re: Ruby On Rails, NoMethodError 'rewrite' Try the Rails list:http://lists.rubyonrails.org/mailman/listinfo/rails On 10/18/05, Peter Barry wrote:> Good day,> Not sure if i should be posting rails related problems here, but seems> other people do , but feel free to point me to a better rails forum.>> Not sure what the cause of the problem is, i am not personally calling a> method rewrite in my code but i guess the framework is. I have been> working from the scaffold code and editting> the views/model and controllers to suit my application. Any ideas where to> look for the problem ?> Cheers> By the way the url is my model class not the url/ url_helper in the rails> framework, could this be a problem?>> NoMethodError in Urls#new> Showing /urls/new.rhtml where line #3 raised:> undefined method `rewrite' for #> Extracted source (around line #3):> 1:

New url

> 2:> 3: <%= start_form_tag :action => 'create' %>> 4: <%= render_partial 'form' %>> 5: <%= submit_tag "Create" %>> 6: <%= end_form_tag %>>> C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record/base.rb:1203:in> `method_missing'> C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:440:in> `url_for'> C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_view/helpers/url_helper.rb:12:in> `send'> C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_view/helpers/url_helper.rb:12:in> `url_for'> C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_view/helpers/form_tag_helper.rb:25:in> `start_form_tag'> Peter Barry> skype: hairymail> YIM: hairy_mail>> Remember from your perspective, you are always on top of the world.>