In Rails 2.x
script/generate controller [new controller name] [page you want create]
[code]script/generate controller search index[/code]
In Rails 3.x
[code]rails generate controller search index[/code]
In Rails 2.x
script/generate controller [new controller name] [page you want create]
[code]script/generate controller search index[/code]
In Rails 3.x
[code]rails generate controller search index[/code]
If you get an error saying
Image could not be processed. Please go back and try again.
when you try to put a new custom header image for WordPress theme 2010 on a server using Ubuntu the following may help:
[bash]apt-get install php5-gd[/bash]
once it installs then
[code]invoke-rc.d apache2 restart[/code]
This will provide php the ability to manipulate images that WordPress is trying to use.