Extracting a tidy PORO from a messy Active Record model
In 2006 Jamis Buck wrote a famous post called Skinny Controller, Fat Model. In it Jamis observed that Rails developers often put too much logic in controllers, making the code harder to understand and to test than it needs to be.“Skinny controllers, fat models” became a piece of accepted wisdom in the Rails community. I think it was a genuine step forward in the overall state of affairs.
Extracting a tidy PORO from a messy Active Record model #ruby #rails #rubyonrails #bosnia #programming #tutorials #rubydeveloper #railsdeveloper