Souschef wrote:
> More info: I viewed page source for the index page & the funky
> references are being passed to it.  Looking at the paths it's easy to
> see why the "delete" works & the 'show' & 'edit' don't. The href
> number changes each time for the 'Show' (embedded in the project
> title) & 'Edit' the index is called. Here's a list:
>   <tr>
>     <td><a href="/myprojects/37127550">Clean Room</a></td>
>     <td><a href="/myprojects/37127550/edit">Edit</a></td>
>     <td><a href="/projects/8" onclick="if (confirm('Are you sure?'))
> {DELETED EXTRA CODE HERE}
>   </tr>
> 
>   <tr>
>     <td><a href="/myprojects/37127550">Clean House</a></td>
>     <td><a href="/myprojects/37127550/edit">Edit</a></td>
>     <td><a href="/projects/12" onclick="if (confirm('Are you sure?'))
> {DELETED EXTRA CODE HERE}
>   </tr>
> 
>   <tr>
>     <td><a href="/myprojects/37127550">Mom's project</a></td>
>     <td><a href="/myprojects/37127550/edit">Edit</a></td>
>     <td><a href="/projects/16" onclick="if (confirm('Are you sure?'))
> {DELETED EXTRA CODE HERE}
>   </tr>
> 

I'll try to look at this in more detail later.

> Yes, shame on me for not starting w/ TDD...  will get there once I can
> get some rails basics under the belt...

Wrong order.  TDD *is* basic.  Stop writing app code till you have tests 
in place.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
mar...@marnen.org

-- 
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 post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to