Thanks so far guys. Will try this. Currently I'm using a very raw
string concatenation which just appends the page - and the id.
forum_topic_path(@topic.forum, @topic) + ?page= + find_topic_page(@post) +
#post- + @post.id
it is. So well, I'd be glad if I could replace it with the nice and
Hello out there!
I am developing an app that includes a simple forum system, and am
using a nested resource there:
resources :forums do
resources :topics
end
So I get URLs like /forums/3/topics/2. Now I, for sure, also got a
Post model, controller, etc., and I want this controller to
Good day, people,
I installed a fully working Ruby on Rails on my Debian Squeeze system
today and am studying a tutorial about Ruby on Rails right now.
It says that in the main folder of my app, I should type
ruby script/generate controller Stories index
Good, but that seems to be for older ruby
have everything pre-done for me right now, although I think scaffold
will get useful for me again.
Thank you! :)
On 13 Mrz., 11:56, Frederick Cheung frederick.che...@gmail.com
wrote:
On Mar 12, 11:25 pm, Simon Welker p0mmesg4...@googlemail.com wrote:
Good day, people,
I installed a fully
4 matches
Mail list logo