Displaying 1 result from an estimated 1 matches for "story_pah".
Did you mean:
story_path
2010 Sep 11
0
Rails 3 helper method not called
While I was trying to port one application from Rail 2 to Rails 3 I''ve
noticed that helper methods used for rewriting URL paths are not
called. Methods are defined in app/helpers/url_helper.rb:
module UrlHelper
def story_pah(story)
"/story/#{story.title}"
end
end
This method, when called inside of view instead of:
story/1
creates path
story/story_title.
I order to double check this I''ve create two new applications. One in
Rails 2 and the other in Rails 3. After that I created scaffold for...