search for: stories_controller

Displaying 3 results from an estimated 3 matches for "stories_controller".

2010 Mar 05
15
Three submits, one controller
...e with a submit for creating stories. On the ''show'' page the submit allows a user to enter comments. I now want a ''edit'' page for the stories with another submit for updates. I have used the ''create'' and ''update'' methods in the stories_controller on the ''new'' and ''show'' pages. What method can I use for the submit on the ''edit'' page? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" gro...
2008 Feb 21
1
Creating incorrect plurals when generating scaffold
...ts app/models/ exists test/unit/ exists test/fixtures/ create app/models/story.rb create test/unit/story_test.rb create test/fixtures/stories.yml create db/migrate create db/migrate/001_create_stories.rb create app/controllers/stories_controller.rb create test/functional/stories_controller_test.rb create app/helpers/stories_helper.rb route map.resources :stories Then I just run $rake db:migrate and everything works fine at http://localhost:3000/stories -- Posted via http://www.ruby-forum.com/. --~--~---------~--~-...
2009 Sep 29
5
NoMethodError in Stories#show
I''m a Rails newbie and am working my way through Simply Rails 2 by Patrick Lenz. Have run into a problem on page 207 of the book; this is the error I run into when I fire up my server and open up httpL//localhost:3000/ stories/new I have posted the error message and trace below. Thanks in advance for your help.