On 25 April 2013 11:39, cihad yildiz <[email protected]> wrote:

I asked that you quote the previous message, and insert your reply
inline, which you have not done.

> yes I am watching a tutorial

Is it a Rails 3 tutorial?  It should be.

>
> I add routes
> that
>   get "phones_feature/index"
>   get "phone/index"
>   get "phone/show"
>   get "phone/new"

That is not the way to do it any more.  I think you must be following
a very old tutorial.  Make sure that you are using a Rails 3 tutorial
and that you are using exactly the version of rails that the tutorial
is for.  As I suggested previously (I think, since you have not quoted
the previous message I am not sure) railstutorial.org is good.

Also make sure you restart the server when you change routes.rb.

Colin

>
>
> I watch a video
> I use the same code
> but I had an error
>  ( link_to ("#{phone.model}",phones_feature_index_path)  it shows this
> line
>
> I am sorry Ill keep in mind
>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to