kracekumar ramaraju
2011-Mar-02 05:50 UTC
How to add a feature to an existing Rails project
I have recently downloaded a new project(open source),i found certain features missing like blog,forum ,chat etc.. ..so I like to add those features to the project .My problem if run ''rails forum ''it will create a new rails project but i want to add to the existing project. I have found business logic. . . .I had created models `ruby script/generate model forum ruby script/generate model topic ruby script/generate model post rake db:migrate ruby script/generate migration add_foreign_to_topics forum_id:integer ruby script/generate migration add_foreign_to_post topic_id:integer rake db:migrate;` Then i ran ''ruby script/generate controller forum ,it was asking should i overwrite or not,so i am stuck up here,i need to create a controller and view for this feature.I am following this tutorial http://net.tutsplus.com/tutorials/other/building-a-forum-from-scratch-with-ruby-on-rails/ and i have already user table etc.. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.