Monday, May 24, 2010

Re: [Rails] Re: Questionairee's questions - how to show all user's answers? How to update database with ALL user's answers?

On 24 May 2010 07:42, Smoq <smoqquu@gmail.com> wrote:
> Could you let me know what shuld be included in controller to list on
> the page ALL user's answers?

You could populate a variable with the results of a find of the user's
answers, or just have a variable for the user and access
"@user.questions" in the view.

> I also think that the view should be
> modified to show ALL user's answers - but I have no idea how it should
> be changed. Could you modify it?

Are you asking me to *do* your work for you for free?!

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate