-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Man...
I am new to ruby / rails myself ... But ... I try to RTFM .. and also... i
have actually bought some books... But all the stuff you're asking in this
thread is here ...
Rails AntiPatterns: Best Practice Ruby on Rails Refactoring (Addison-
On 3 February 2012 10:24, Srimanta Chakraborty wrote:
> 1. Provide the models required
> 2. Each article can be related to many articles (or none).Provide code
> for making @article.related_articles work
> 3. Clean up the code according to rails conventions
Really? you're just pasting your homewo
1. Provide the models required
2. Each article can be related to many articles (or none).Provide code
for making @article.related_articles work
3. Clean up the code according to rails conventions
class ArticleController < ApplicationController
def show
@article = Article.find(params[:id])
3 matches
Mail list logo