solusi lainnya routingnya yang dikasih alias mas

misalnya :
map.resources :berita, :controller => :news

salam,

--gozali

On Jun 5, 2009, at 10:59 AM, bobby prabowo wrote:

>
>
> Wah rails ternyata ga stabil2 amat yah
>
> klo bikin scaffold dengan nama news
>
> script/generate scaffold news title:string content:text
>
> pasti ga bisa create data
> krn pada url
> http://localhost:3000/news/new
>
> dia nganggep news dengan new, adalah ambigu
>
> errornya :
> news_url failed to generate from  
> {:action=>"show", :controller=>"news"} - you may have ambiguous  
> routes, or you may need to supply additional parameters for this  
> route. content_url has the following required parameters:  
> ["news", :id] - are they all satisfied?
>
> solusi sementara, ganti nama controller / actionnya deh. aseem
>
> apa ada solusi lain?
>
> Akses email lebih cepat. Yahoo! menyarankan Anda meng-upgrade  
> browser ke Internet Explorer 8 baru yang dioptimalkan untuk Yahoo!  
> Dapatkan di sini!
> http://downloads.yahoo.com/id/internetexplorer
>
> [Non-text portions of this message have been removed]
>
>
> 



[Non-text portions of this message have been removed]

Kirim email ke