Hi All, I am trying to implement a status update to be used on my web application.
The tutorial I had followed suggested to do the following: Create a model called post with message:text Then rake db:migrate (so far so good – db shows new table ‘posts’) I then need to create a controller called post Within this there is then an index and create methods I add the relevant view information to the views/posts directory and all works fine. The problem I have is, I really want this within my existing user profile page (where a user would update their account) To alter this, is it just a case of adding the methods to the user_controller, and subsequent view files to the user’s view directory? As it stands, I can get the view to display nicely in the user’s profile/update area, but when I hit post, I’m taken to localhost/posts – which doesn't look too great. What I need is for this to remain in the user profile area. Any ideas? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

