Do you want the second page to contain all the messages or just 1
message?

Cheers, Sazima

On Jan 5, 8:40 am, Dave Smith <[email protected]>
wrote:
> Hi Guys,
>
> The answer to this is probably pretty simple but I have an app which
> holds projects, and have messages for each project.
>
> project has_many messages
> message belongs to project
>
> in my project controller i just do
>
>     @project_messages = @project.messages.collect
>
> In my project view page you can see the messages (but they are truncated
> to save space). I want to have a "more" link that takes the user to
> another page which holds all the full project messages.
>
> Do I create a page called messages.html.erb?
>
> I would also like to be able to comment on each of the messages on the
> second page!?!?
>
> Please can someone help me as I am a really stuck!
>
> Thank you very much!!
>
> Dave
> --
> Posted viahttp://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 [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