# Routing Error for big text

**URL:** <https://www.ruby-forum.com/t/routing-error-for-big-text/104351>\
**Category:** Rails\
**Created:** [May 17, 2007, 12:17am UTC](https://www.ruby-forum.com/t/routing-error-for-big-text/104351 "2007-05-17T00:17:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bolo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/898d66/32.png) [@Bolo](https://www.ruby-forum.com/u/Bolo)\
**Post date:** [May 17, 2007, 12:17am UTC](https://www.ruby-forum.com/t/routing-error-for-big-text/104351/1 "2007-05-17T00:17:31Z")

</div>

Hello, Hello

I have very strange problem, when i try to edit or create a big text  
have this error  
"Routing Error

no route found to match “/error.php” with {:method=\>:get}"

When i user the console it’s work

I have this problem on my server of production

Can you help me

def create  
@enseignement = Enseignement.new(params[:enseignement])  
@enseignement.save!  
flash[:notice] = ‘Enseignement a été ajouté.’  
redirect\_to enseignement\_url(:id =\> @enseignement)  
rescue ActiveRecord::RecordInvalid  
render :action =\> :new  
end

def update  
@enseignement = Enseignement.find(params[:id])  
if @enseignement.update\_attributes(params[:enseignement])  
flash[:notice] = ‘Enseignement a été modifié.’  
redirect\_to enseignement\_path(:id =\> @enseignement)  
else  
render :action =\> “edit”  
end  
end
