On Dec 8, 6:45 pm, sanjanad <[email protected]> wrote:
>
> to fetch tat row..the command i gave is Book.find(1)
>
> in the script/console test
>
> but it reads the data from the fixtures and just displays that...
>
> how do i tell the controller which row to update..and how do i check

that depends on your controller. What parameters does it expect?

> that particular row whether its updated?..thank you

well in your test reload the book object and check its attributes.

Fred

--

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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to