I suggest you ...

Sample refactoring of Rails application

We all know we're not SUPPOSED to cram everything into 1 or 2 controllers or write 37-line methods. And we SHOULD move all model code (e.g., find) into the model classes and keep business logic out of the views. Can you start with a typical newbie Rails application (multiple models, big enough to be interesting) and show how to refactor it? Add tests or RSpecs? ---Jim Gagne---

6 votes
Vote 0 votes Vote Vote
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service

    You'll receive a confirmation email with a link to create a password (optional).

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    jimgagnejimgagne shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service

      You'll receive a confirmation email with a link to create a password (optional).

      Signed in as (Sign out)
      Submitting...

      Knowledge Base and Helpdesk