Refactoring on Rails: Move to Model

Submitted by Rails Forum » Learn how to refactor by taking logic out of the view and moving it to the controller, cleaning up the view in the process.
Rating: 5.0/5 | 3,109 clicks | 0 comments | 0 saves | share | report

Additional statistics

Average rating: 5.00/5.0
Clicks today: 0
Clicks this month: 3
Clicks total: 3109
Number of comments: 0
Number of saves: 0